summaryrefslogtreecommitdiff
path: root/src/bossCaptainBowser.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-07-04 01:15:15 +0200
committerTreeki <treeki@gmail.com>2013-07-04 01:15:15 +0200
commitd55debf80b417793ce924ec977ed3a16413fd5d6 (patch)
treeedc9e60c3b24cc90eeaaa416e6225401b3815afe /src/bossCaptainBowser.cpp
parent75002c45dea66ccc8291a87a1f670b72d8c7b16d (diff)
downloadkamek-d55debf80b417793ce924ec977ed3a16413fd5d6.tar.gz
kamek-d55debf80b417793ce924ec977ed3a16413fd5d6.zip
ending dead players fix
Diffstat (limited to '')
-rw-r--r--src/bossCaptainBowser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bossCaptainBowser.cpp b/src/bossCaptainBowser.cpp
index 9e163b1..6915ccf 100644
--- a/src/bossCaptainBowser.cpp
+++ b/src/bossCaptainBowser.cpp
@@ -1020,6 +1020,10 @@ void daCaptainBowser::executeState_PanToExit() {
DontShowPreGame = true;
ExitStage(RESTART_CRSIN, 0, BEAT_LEVEL, MARIO_WIPE);
exitedFlag = true;
+
+ for (int i = 0; i < 4; i++)
+ if (Player_Lives[i] == 0)
+ Player_Lives[i] = 5;
}
}
}