mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- changed 3 places to call the proper map progression function.
These ignored the explicit settings in the map definition.
This commit is contained in:
parent
f3eb476fbf
commit
727244d52d
2 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ bool NextCheat(cheatseq_t* c)
|
|||
{
|
||||
if (!checkCheat(c)) return false;
|
||||
if (!currentLevel) return true;
|
||||
auto map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
||||
auto map = FindNextMap(currentLevel);
|
||||
if (map) DeferedStartGame(map, -1);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1913,7 +1913,7 @@ OperateSprite(short SpriteNum, short player_is_operating)
|
|||
if (sp->hitag)
|
||||
map = FindMapByLevelNum(sp->hitag);
|
||||
else
|
||||
map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
||||
map = FindNextMap(currentLevel);
|
||||
ChangeLevel(map, -1);
|
||||
|
||||
return true;
|
||||
|
@ -2095,7 +2095,7 @@ OperateTripTrigger(PLAYERp pp)
|
|||
if (sectp->hitag)
|
||||
map = FindMapByLevelNum(sectp->hitag);
|
||||
else
|
||||
map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
||||
map = FindNextMap(currentLevel);
|
||||
ChangeLevel(map, -1);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue