mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- SW: fixed: When entering the summary screen, clear the FinishedLevel variable immediately.
So that its value won't stick around and trigger the screen again. Same when an exception occurs. Fixes #232.
This commit is contained in:
parent
7417160abd
commit
c0da85d0ff
1 changed files with 2 additions and 0 deletions
|
@ -712,6 +712,7 @@ void EndOfLevel()
|
||||||
if (FinishedLevel)
|
if (FinishedLevel)
|
||||||
{
|
{
|
||||||
//ResetPalette(mpp);
|
//ResetPalette(mpp);
|
||||||
|
FinishedLevel = false;
|
||||||
COVER_SetReverb(0); // Reset reverb
|
COVER_SetReverb(0); // Reset reverb
|
||||||
Player[myconnectindex].Reverb = 0;
|
Player[myconnectindex].Reverb = 0;
|
||||||
StopSound();
|
StopSound();
|
||||||
|
@ -857,6 +858,7 @@ void GameInterface::RunGameFrame()
|
||||||
SavegameLoaded = false;
|
SavegameLoaded = false;
|
||||||
ExitLevel = false;
|
ExitLevel = false;
|
||||||
FinishAnim = 0;
|
FinishAnim = 0;
|
||||||
|
FinishedLevel = false;
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue