Changeset 10749 in orxonox.OLD for branches/presentation/src/world_entities/projectiles
- Timestamp:
- Jun 20, 2007, 10:29:13 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/projectiles/projectile.cc
r10368 r10749 157 157 void Projectile::collidesWith (WorldEntity* target, const Vector& location) 158 158 { 159 dynamic_cast<SpaceShip*>(target)->damage(this->getPhysDamage(),this->getElecDamage());159 //dynamic_cast<SpaceShip*>(target)->damage(this->getPhysDamage(),this->getElecDamage()); 160 160 // this->destroy(NULL); 161 161 this->destroy(target); -
branches/presentation/src/world_entities/projectiles/projectile_weapon.cc
r10368 r10749 150 150 void ProjectileWeapon::collidesWith (WorldEntity* target, const Vector& location) 151 151 { 152 dynamic_cast<SpaceShip*>(target)->damage(this->getPhysDamage(),this->getElecDamage());152 // dynamic_cast<SpaceShip*>(target)->damage(this->getPhysDamage(),this->getElecDamage()); 153 153 // this->destroy(NULL); 154 154 this->destroy(target);
Note: See TracChangeset
for help on using the changeset viewer.