- 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

@ -5338,7 +5338,7 @@ AActor *FLevelLocals::SpawnMapThing (FMapThing *mthing, int position)
}
if (!deathmatch && !(flags2 & LEVEL2_RANDOMPLAYERSTARTS))
{
return P_SpawnPlayer(&start, pnum, (flags2 & LEVEL2_PRERAISEWEAPON) ? SPF_WEAPONFULLYUP : 0);
return SpawnPlayer(&start, pnum, (flags2 & LEVEL2_PRERAISEWEAPON) ? SPF_WEAPONFULLYUP : 0);
}
return NULL;
}