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/towerdefense/TowerDefenseEnemy.cc

    r10626 r10628  
    6565    void TowerDefenseEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs)
    6666    {
    67         Pawn::damage(damage, healthdamage, shielddamage, originator);
     67        Pawn::damage(damage, healthdamage, shielddamage, originator, cs);
    6868        if (getGame() && once_ == false && getHealth() <= 0)
    6969        {
Note: See TracChangeset for help on using the changeset viewer.