Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2009, 6:04:10 PM (15 years ago)
Author:
scheusso
Message:

some fixes in weapon system / weapons
fabian: projectiles also spawn on wrong position in standalone mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc

    r6152 r6153  
    205205            this->muzzlePosition_ = this->weapon_->getWorldPosition() + this->weapon_->getWorldOrientation() * this->muzzleOffset_;
    206206
    207             Pawn* pawn = this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn();
    208207            Vector3 muzzleDirection;
    209208            muzzleDirection = target - this->muzzlePosition_;
Note: See TracChangeset for help on using the changeset viewer.