mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 22:52:50 +00:00
Fixed a bug with the ring lava melting
This commit is contained in:
parent
83b32eacbe
commit
4c0628b6bb
1 changed files with 1 additions and 1 deletions
|
|
@ -4140,7 +4140,7 @@ static void P_KillRingsInLava(mobj_t *mo)
|
|||
topheight = P_GetFOFTopZ(mo, node->m_sector, rover, mo->x, mo->y, NULL);
|
||||
bottomheight = P_GetFOFBottomZ(mo, node->m_sector, rover, mo->x, mo->y, NULL);
|
||||
|
||||
if (mo->z <= topheight || mo->z + mo->height >= bottomheight) // if ring touches it, KILL IT
|
||||
if (mo->z <= topheight && mo->z + mo->height >= bottomheight) // if ring touches it, KILL IT
|
||||
{
|
||||
P_KillMobj(mo, NULL, NULL, DMG_FIRE);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue