Changeset 10628 for code/trunk/src
- Timestamp:
- Oct 10, 2015, 11:40:59 AM (9 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/invader/InvaderEnemyShooter.cc
r10626 r10628 73 73 void InvaderEnemyShooter::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) 74 74 { 75 Pawn::damage(damage, healthdamage, shielddamage, originator );75 Pawn::damage(damage, healthdamage, shielddamage, originator, cs); 76 76 if (getGame() && orxonox_cast<InvaderShip*>(originator) != NULL && getHealth() <= 0) 77 77 getGame()->addPoints(3*42); -
code/trunk/src/modules/towerdefense/TowerDefenseEnemy.cc
r10626 r10628 65 65 void TowerDefenseEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) 66 66 { 67 Pawn::damage(damage, healthdamage, shielddamage, originator );67 Pawn::damage(damage, healthdamage, shielddamage, originator, cs); 68 68 if (getGame() && once_ == false && getHealth() <= 0) 69 69 {
Note: See TracChangeset
for help on using the changeset viewer.