- Timestamp:
- Apr 9, 2009, 3:18:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapons/src/orxonox/objects/weaponSystem/weapons/HsW01.cc
r2901 r2912 28 28 29 29 #include "OrxonoxStableHeaders.h" 30 30 #include "HsW01.h" 31 31 32 32 #include "core/CoreIncludes.h" 33 33 #include "core/XMLPort.h" 34 #include "util/Debug.h"35 36 #include "HsW01.h"37 38 34 39 35 namespace orxonox … … 79 75 projectile->setPosition(this->getWorldPosition()); 80 76 projectile->setVelocity(this->getWorldOrientation() * WorldEntity::FRONT * this->speed_); 81 projectile->setOwner(this->get ParentWeaponSystem()->getParentPawn());77 projectile->setOwner(this->getWeaponSystem()->getPawn()); 82 78 } 83 79 }
Note: See TracChangeset
for help on using the changeset viewer.