Skip to content

Commit

Permalink
- fixed: LEVEL_USEPLAYERSTARTZ was checked on the wrong variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Feb 8, 2019
1 parent 0b2494f commit 584dae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_mobj.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 584dae8

Please sign in to comment.