diff options
Diffstat (limited to 'src/bossFuzzyBear.cpp')
-rw-r--r-- | src/bossFuzzyBear.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bossFuzzyBear.cpp b/src/bossFuzzyBear.cpp index 8eaba1d..1661a29 100644 --- a/src/bossFuzzyBear.cpp +++ b/src/bossFuzzyBear.cpp @@ -699,7 +699,9 @@ void daFuzzyBear_c::beginState_Outro() { void daFuzzyBear_c::executeState_Outro() { if (this->dying == 1) { - if (this->timer > 180) { ExitStage(WORLD_MAP, 0, BEAT_LEVEL, MARIO_WIPE); } + if (this->timer > 180) { + ExitStage(WORLD_MAP, 0, BEAT_LEVEL, MARIO_WIPE); + } if (this->timer == 60) { PlayerVictoryCries(this); } this->timer += 1; @@ -709,7 +711,11 @@ void daFuzzyBear_c::executeState_Outro() { bool ret; ret = ShrinkBoss(this, &this->pos, 2.75, this->timer); - if (ret) { BossExplode(this, &this->pos); } + if (ret == true) { + BossExplode(this, &this->pos); + this->dying = 1; + this->timer = 0; + } this->timer += 1; |