- made most of the player spawn spot handliing functions members of FLevelLocals.

This commit is contained in:
Christoph Oelckers 2019-01-28 02:44:05 +01:00
commit 66695ac6a0
11 changed files with 84 additions and 70 deletions

View file

@ -693,7 +693,7 @@ void G_ChangeLevel(const char *levelname, int position, int flags, int nextSkill
player->mo->special1 = 0;
}
// ]]
G_DoReborn(i, false);
level.DoReborn(i, false);
}
}
}
@ -1360,7 +1360,7 @@ int G_FinishTravel ()
pawndup = pawn->player->mo;
assert (pawn != pawndup);
start = G_PickPlayerStart(pnum, 0);
start = level.PickPlayerStart(pnum, 0);
if (start == NULL)
{
if (pawndup != nullptr)