mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: LEVEL_USEPLAYERSTARTZ was checked on the wrong variable.
This commit is contained in:
parent
0b2494f9ca
commit
584dae85f4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue