Changeset 10079 in orxonox.OLD for branches/playability/src/world_entities/projectiles/lbolt.cc
- Timestamp:
- Dec 15, 2006, 8:34:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/lbolt.cc
r10074 r10079 28 28 #include <cassert> 29 29 #include "debug.h" 30 31 #include "space_ships/space_ship.h" 30 32 31 33 … … 116 118 void LBolt::collidesWith(WorldEntity* entity, const Vector& location) 117 119 { 120 PRINTF(0)("Collision with LBolt\n"); 118 121 if (this->hitEntity != entity && entity->isA(CL_NPC)) 119 122 this->destroy( entity ); 120 123 this->hitEntity = entity; 124 dynamic_cast<SpaceShip*>(entity)->damage(this->getDamage(),0); 125 // this->deactivate(); 121 126 } 122 127
Note: See TracChangeset
for help on using the changeset viewer.