Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 10, 2015, 11:40:59 AM (9 years ago)
Author:
landauf
Message:

addendum to r10626 → pass the collision shape to Pawn::damage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/invader/InvaderEnemyShooter.cc

    r10626 r10628  
    7373    void InvaderEnemyShooter::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs)
    7474    {
    75         Pawn::damage(damage, healthdamage, shielddamage, originator);
     75        Pawn::damage(damage, healthdamage, shielddamage, originator, cs);
    7676        if (getGame() && orxonox_cast<InvaderShip*>(originator) != NULL && getHealth() <= 0)
    7777            getGame()->addPoints(3*42);
Note: See TracChangeset for help on using the changeset viewer.