mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Duke: Use DeferredGameStart()
instead of ChangeLevel()
in cheatLevel()
to instantly warp to the targeted map, matching DOS behaviour.
* Fixes #529.
This commit is contained in:
parent
5732ea0233
commit
61ba58c529
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ static bool cheatLevel(cheatseq_t *s)
|
|||
auto map = FindMapByIndex(volnume, levnume);
|
||||
if (map)
|
||||
{
|
||||
ChangeLevel(map, g_nextskill);
|
||||
DeferredStartGame(map, g_nextskill);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue