Changeset 10217 in orxonox.OLD for branches/playability/src/world_entities/projectiles
- Timestamp:
- Jan 10, 2007, 3:37:40 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/spike_ball.cc
r10196 r10217 74 74 this->weaponMan->changeWeaponConfig(0); 75 75 76 76 this->ttd = false; 77 77 } 78 78 … … 177 177 178 178 if (this->tickLifeCycle(dt)){ 179 this->weaponMan->fire(); 180 this->deactivate(); 179 this->weaponMan->getWeapon(0)->requestAction(WA_SHOOT); 180 if (this->ttd) 181 this->deactivate(); 182 this->ttd = true; 181 183 } 182 184 -
branches/playability/src/world_entities/projectiles/spike_ball.h
r10196 r10217 65 65 WeaponManager* weaponMan; 66 66 67 bool ttd; 67 68 }; 68 69
Note: See TracChangeset
for help on using the changeset viewer.