- 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:
Mitch Richters 2021-10-05 08:50:05 +11:00
parent 5732ea0233
commit 61ba58c529

View file

@ -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;
}