mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixed waypoints using bad Z height in non-UDMF maps
This commit is contained in:
parent
e0957b9250
commit
e1dcf80f8d
1 changed files with 3 additions and 1 deletions
|
|
@ -1357,7 +1357,9 @@ static void P_LoadThings(UINT8 *data)
|
||||||
|
|
||||||
mt->type &= 4095;
|
mt->type &= 4095;
|
||||||
|
|
||||||
if (mt->type == 1705 || (mt->type == 750 && mt->extrainfo))
|
if (mt->type == mobjinfo[MT_WAYPOINT].doomednum)
|
||||||
|
mt->z = 0; // Waypoints set Z pos in other methods
|
||||||
|
else if (mt->type == 1705 || (mt->type == 750 && mt->extrainfo))
|
||||||
mt->z = mt->options; // NiGHTS Hoops use the full flags bits to set the height.
|
mt->z = mt->options; // NiGHTS Hoops use the full flags bits to set the height.
|
||||||
else
|
else
|
||||||
mt->z = mt->options >> ZSHIFT;
|
mt->z = mt->options >> ZSHIFT;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue