- fixed: LEVEL_USEPLAYERSTARTZ was checked on the wrong variable.

This commit is contained in:
Christoph Oelckers 2019-02-08 19:58:15 +01:00
parent 0b2494f9ca
commit 584dae85f4

View file

@ -4977,7 +4977,7 @@ AActor *FLevelLocals::SpawnPlayer (FPlayerStart *mthing, int playernum, int flag
mobj = Spawn (this, p->cls, spawn, NO_REPLACE);
if (flags & LEVEL_USEPLAYERSTARTZ)
if (this->flags & LEVEL_USEPLAYERSTARTZ)
{
if (spawn.Z == ONFLOORZ)
mobj->AddZ(mthing->pos.Z);