Permalink
Browse files

- fixed: LEVEL_USEPLAYERSTARTZ was checked on the wrong variable.

  • Loading branch information...
coelckers committed Feb 8, 2019
1 parent 0b2494f commit 584dae85f450e0692c48324ad4d7325267bfec69
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/p_mobj.cpp
@@ -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);

0 comments on commit 584dae8

Please sign in to comment.