From d55debf80b417793ce924ec977ed3a16413fd5d6 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 4 Jul 2013 01:15:15 +0200 Subject: ending dead players fix --- src/bossCaptainBowser.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bossCaptainBowser.cpp') 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; } } } -- cgit v1.2.3