mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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 (!checkCheat(c)) return false;
|
||||||
if (!currentLevel) return true;
|
if (!currentLevel) return true;
|
||||||
auto map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
auto map = FindNextMap(currentLevel);
|
||||||
if (map) DeferedStartGame(map, -1);
|
if (map) DeferedStartGame(map, -1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1913,7 +1913,7 @@ OperateSprite(short SpriteNum, short player_is_operating)
|
||||||
if (sp->hitag)
|
if (sp->hitag)
|
||||||
map = FindMapByLevelNum(sp->hitag);
|
map = FindMapByLevelNum(sp->hitag);
|
||||||
else
|
else
|
||||||
map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
map = FindNextMap(currentLevel);
|
||||||
ChangeLevel(map, -1);
|
ChangeLevel(map, -1);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -2095,7 +2095,7 @@ OperateTripTrigger(PLAYERp pp)
|
||||||
if (sectp->hitag)
|
if (sectp->hitag)
|
||||||
map = FindMapByLevelNum(sectp->hitag);
|
map = FindMapByLevelNum(sectp->hitag);
|
||||||
else
|
else
|
||||||
map = FindMapByLevelNum(currentLevel->levelNumber + 1);
|
map = FindNextMap(currentLevel);
|
||||||
ChangeLevel(map, -1);
|
ChangeLevel(map, -1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue