- 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

@ -458,7 +458,7 @@ void P_SetupLevel(FLevelLocals *Level, int position, bool newGame)
{
players[i].mo = nullptr;
FPlayerStart *mthing = Level->PickPlayerStart(i);
P_SpawnPlayer(mthing, i, (Level->flags2 & LEVEL2_PRERAISEWEAPON) ? SPF_WEAPONFULLYUP : 0);
Level->SpawnPlayer(mthing, i, (Level->flags2 & LEVEL2_PRERAISEWEAPON) ? SPF_WEAPONFULLYUP : 0);
}
}
}