Changeset 10080 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Dec 15, 2006, 11:48:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/swarm_launcher.cc
r10079 r10080 19 19 #include "weapon_manager.h" 20 20 #include "world_entities/projectiles/projectile.h" 21 #include "world_entities/projectiles/swarm_projectile.h" 21 22 22 23 #include "model.h" … … 158 159 pj->setAbsCoor(this->getEmissionPoint()); 159 160 pj->setAbsDir(this->getAbsDir()); 160 pj->setTarget( dynamic_cast<WorldEntity*>(*eIterator));161 dynamic_cast<SwarmProjectile*>(pj)->setTarget( (PNode*)(*eIterator) ); 161 162 pj->activate(); 162 163
Note: See TracChangeset
for help on using the changeset viewer.