Changeset 10261 in orxonox.OLD for branches/playability/src/world_entities/projectiles/lbolt.cc
- Timestamp:
- Jan 17, 2007, 4:14:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/lbolt.cc
r10180 r10261 115 115 } 116 116 117 /* 118 void LBolt:: collidesWith(WorldEntity* entity, const Vector& location)117 118 void LBolt::hit (WorldEntity* entity, float damage) 119 119 { 120 120 PRINTF(0)("Collision with LBolt\n"); … … 122 122 this->destroy( entity ); 123 123 this->hitEntity = entity; 124 dynamic_cast<SpaceShip*>(entity)->damage(this->getDamage(),0); 125 // this->deactivate(); 126 }*/ 124 this->deactivate(); 125 } 127 126 128 127 /**
Note: See TracChangeset
for help on using the changeset viewer.