Changeset 10261 in orxonox.OLD for branches/playability/src/world_entities/projectiles/hbolt.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/hbolt.cc
r10180 r10261 113 113 } 114 114 115 /* 116 void HBolt:: collidesWith(WorldEntity* entity, const Vector& location)115 116 void HBolt::hit (WorldEntity* entity, float damage) 117 117 { 118 118 printf("Collision with HBolt\n"); … … 120 120 this->destroy( entity ); 121 121 this->hitEntity = entity; 122 dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage());122 // dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage()); 123 123 this->deactivate(); 124 } */124 } 125 125 126 126
Note: See TracChangeset
for help on using the changeset viewer.