- 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
1 changed files with 1 additions and 1 deletions

View File

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