- made most of the player spawn spot handliing functions members of FLevelLocals.
This commit is contained in:
parent
0ef0698d24
commit
66695ac6a0
11 changed files with 84 additions and 70 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue