mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Fixed: G_CheckSpot() should not use the player start's z position unless LEVEL_USEPLAYERSTARTZ is set.
SVN r4070 (trunk)
This commit is contained in:
parent
c116453158
commit
6e3d784c50
1 changed files with 4 additions and 0 deletions
|
@ -1385,6 +1385,10 @@ bool G_CheckSpot (int playernum, FPlayerStart *mthing)
|
|||
y = mthing->y;
|
||||
z = mthing->z;
|
||||
|
||||
if (!(level.flags & LEVEL_USEPLAYERSTARTZ))
|
||||
{
|
||||
z = 0;
|
||||
}
|
||||
z += P_PointInSector (x, y)->floorplane.ZatPoint (x, y);
|
||||
|
||||
if (!players[playernum].mo)
|
||||
|
|
Loading…
Reference in a new issue