mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 17:30:51 +00:00
- now that everything is fixed, the map in Exhumed can be initiated from the console.
This commit is contained in:
parent
584e4bfb4a
commit
49e07a47c6
1 changed files with 2 additions and 4 deletions
|
@ -217,16 +217,14 @@ void GameInterface::NewGame(MapRecord *map, int skill, bool frommenu)
|
|||
// start a new game on the given level
|
||||
InitNewGame();
|
||||
if (map->levelNumber == 1) STAT_StartNewGame("Exhumed", 1);
|
||||
if (frommenu) Intermission(nullptr, map);
|
||||
else NextLevel(map, skill);
|
||||
Intermission(nullptr, map);
|
||||
}
|
||||
|
||||
void GameInterface::LevelCompleted(MapRecord *map, int skill)
|
||||
{
|
||||
Mus_Stop();
|
||||
if (currentLevel->levelNumber == 0) gameaction = ga_mainmenu;
|
||||
else if (ConsoleState == c_up) Intermission(currentLevel, map);
|
||||
else gameaction = ga_nextlevel;
|
||||
Intermission(currentLevel, map);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue