mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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)
|
||||
{
|
||||
//ResetPalette(mpp);
|
||||
FinishedLevel = false;
|
||||
COVER_SetReverb(0); // Reset reverb
|
||||
Player[myconnectindex].Reverb = 0;
|
||||
StopSound();
|
||||
|
@ -857,6 +858,7 @@ void GameInterface::RunGameFrame()
|
|||
SavegameLoaded = false;
|
||||
ExitLevel = false;
|
||||
FinishAnim = 0;
|
||||
FinishedLevel = false;
|
||||
throw;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue