- removed the intermediate P_SpawnPlayer inline

This commit is contained in:
Christoph Oelckers 2019-01-28 03:02:25 +01:00
commit 41e576bbb5
6 changed files with 8 additions and 14 deletions

View file

@ -1379,7 +1379,7 @@ int G_FinishTravel ()
// The player being spawned here is a short lived dummy and
// must not start any ENTER script or big problems will happen.
pawndup = P_SpawnPlayer(start, pnum, SPF_TEMPPLAYER);
pawndup = level.SpawnPlayer(start, pnum, SPF_TEMPPLAYER);
if (pawndup != NULL)
{
if (!(changeflags & CHANGELEVEL_KEEPFACING))