mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-05 05:10:55 +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
|
// start a new game on the given level
|
||||||
InitNewGame();
|
InitNewGame();
|
||||||
if (map->levelNumber == 1) STAT_StartNewGame("Exhumed", 1);
|
if (map->levelNumber == 1) STAT_StartNewGame("Exhumed", 1);
|
||||||
if (frommenu) Intermission(nullptr, map);
|
Intermission(nullptr, map);
|
||||||
else NextLevel(map, skill);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameInterface::LevelCompleted(MapRecord *map, int skill)
|
void GameInterface::LevelCompleted(MapRecord *map, int skill)
|
||||||
{
|
{
|
||||||
Mus_Stop();
|
Mus_Stop();
|
||||||
if (currentLevel->levelNumber == 0) gameaction = ga_mainmenu;
|
if (currentLevel->levelNumber == 0) gameaction = ga_mainmenu;
|
||||||
else if (ConsoleState == c_up) Intermission(currentLevel, map);
|
Intermission(currentLevel, map);
|
||||||
else gameaction = ga_nextlevel;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue