From 584dae85f450e0692c48324ad4d7325267bfec69 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 8 Feb 2019 19:58:15 +0100 Subject: [PATCH] - fixed: LEVEL_USEPLAYERSTARTZ was checked on the wrong variable. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 2335088fcc..dd0a568cef 100644 --- a/src/p_mobj.cpp +++ b/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);