Changeset 10109 in orxonox.OLD for branches/playability/src/world_entities/projectiles/hbolt.cc
- Timestamp:
- Dec 19, 2006, 11:14:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/hbolt.cc
r10104 r10109 117 117 { 118 118 printf("Collision with HBolt\n"); 119 if (this->hitEntity != entity /* && entity->isA(CL_NPC)*/|| entity == this->target)119 if (this->hitEntity != entity && entity->isA(CL_NPC) || entity == this->target) 120 120 this->destroy( entity ); 121 121 this->hitEntity = entity; 122 122 dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage()); 123 //this->deactivate();123 this->deactivate(); 124 124 } 125 125
Note: See TracChangeset
for help on using the changeset viewer.