diff options
Diffstat (limited to 'src/bossMegaGoomba.cpp')
-rw-r--r-- | src/bossMegaGoomba.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bossMegaGoomba.cpp b/src/bossMegaGoomba.cpp index 9ea7197..51ee044 100644 --- a/src/bossMegaGoomba.cpp +++ b/src/bossMegaGoomba.cpp @@ -270,17 +270,13 @@ int daMegaGoomba_c::tryHandleJumpedOn(ActivePhysics *apThis, ActivePhysics *apOt EnemyBounceValue = saveBounce; - if(ret == 1) { // regular jump + if(ret == 1 || ret == 3) { apOther->someFlagByte |= 2; if(this->takeHit(1)) { // kill me VEC2 eSpeed = {speed.x, speed.y}; killWithSpecifiedState(apOther->owner, &eSpeed, &dEn_c::StateID_DieOther); } - } else if(ret == 3) { // spinning - apOther->someFlagByte |= 2; - if(this->takeHit(1)) - doStateChange(&StateID_DieFall); } return ret; @@ -451,6 +447,7 @@ int daMegaGoomba_c::onCreate() { } int daMegaGoomba_c::onDelete() { + unstunPlayers(); return true; } |