From 27e79e27f08806559be022b320755a0dbde1c8c7 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 13 Jan 2013 22:09:15 +0100 Subject: I hereby declare that Tempus is a butt --- src/levelspecial.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/levelspecial.cpp b/src/levelspecial.cpp index 35dc05a..d302cdd 100644 --- a/src/levelspecial.cpp +++ b/src/levelspecial.cpp @@ -67,7 +67,7 @@ void MarioStateChanger(void *Mario, dStateBase_c *state, u32 unk) { dAcPy_vf294(Mario, state, unk); } -bool ResetAfterLevel(void) { +bool ResetAfterLevel(bool didItWork) { // TimeStopFlag = 0; MarioDescentRate = -4; MarioJumpMax = 3.628; @@ -82,7 +82,10 @@ bool ResetAfterLevel(void) { AlwaysDrawBranch = 0x7C0802A6; ZOrderOn = 0; GlobalStarsCollected = 0; - return true; + NoMichaelBuble = false; + for (int i = 0; i < 4; i++) + Player_Flags[i] &= ~4; + return didItWork; } bool LevelSpecial_Create(LevelSpecial *self) { -- cgit v1.2.3