From d301d2bba4ea733025dec4edcbeade0a4322e0a5 Mon Sep 17 00:00:00 2001
From: MascaraSnake <jonassauer27@gmail.com>
Date: Sun, 29 Sep 2019 23:22:38 +0200
Subject: [PATCH] Fixed a bug with the ring lava melting

---
 src/p_mobj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/p_mobj.c b/src/p_mobj.c
index dc1ab72775..ea3fd13302 100644
--- a/src/p_mobj.c
+++ b/src/p_mobj.c
@@ -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;
-- 
GitLab