mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 19:40:43 +00:00
- Exhumed: fixed crash when ending the game.
This commit is contained in:
parent
a5e3a85c98
commit
38c9d3f702
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void GameInterface::LevelCompleted(MapRecord *to_map, int skill)
|
|||
info.maxkills = nCreaturesTotal;
|
||||
info.supersecrets = nBestLevel;
|
||||
info.time = PlayClock * GameTicRate / 120;
|
||||
selectedlevelnew = to_map->levelNumber;
|
||||
if (to_map) selectedlevelnew = to_map->levelNumber;
|
||||
ShowIntermission(currentLevel, to_map, &info, [=](bool)
|
||||
{
|
||||
if (!to_map) gameaction = ga_startup; // this was the end of the game
|
||||
|
|
Loading…
Reference in a new issue