mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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);
|
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);
|
||||||
|
|
Loading…
Reference in a new issue