mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-04 12:50:57 +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);
|
auto map = FindMapByIndex(volnume, levnume);
|
||||||
if (map)
|
if (map)
|
||||||
{
|
{
|
||||||
ChangeLevel(map, g_nextskill);
|
DeferredStartGame(map, g_nextskill);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue