Don't stop music when game is complete.
This commit is contained in:
parent
e585281716
commit
370adf36b6
|
@ -359,8 +359,11 @@ static void doWorldInProgress(void)
|
||||||
|
|
||||||
world.missionCompleteTimer = FPS * 3;
|
world.missionCompleteTimer = FPS * 3;
|
||||||
|
|
||||||
|
if (world.state != WS_GAME_COMPLETE)
|
||||||
|
{
|
||||||
stopMusic();
|
stopMusic();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isControl(CONTROL_PAUSE))
|
if (isControl(CONTROL_PAUSE))
|
||||||
{
|
{
|
||||||
|
@ -547,9 +550,7 @@ static void doWorldComplete(void)
|
||||||
|
|
||||||
static void doGameComplete(void)
|
static void doGameComplete(void)
|
||||||
{
|
{
|
||||||
world.missionCompleteTimer--;
|
if (--world.missionCompleteTimer <= 0)
|
||||||
|
|
||||||
if (world.missionCompleteTimer <= 0)
|
|
||||||
{
|
{
|
||||||
initEnding();
|
initEnding();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue