From 7fd4d397ced6365080fe6a86fda523b4606281d0 Mon Sep 17 00:00:00 2001 From: Ramen2X <64166386+Ramen2X@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:22:11 -0400 Subject: [PATCH] revert vtable1c match-hack This reverts commit 7b886259882e2d04444546c1323734ec3c243cf6. --- LEGO1/mxregion.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LEGO1/mxregion.cpp b/LEGO1/mxregion.cpp index bacff021..bd2a5f5a 100644 --- a/LEGO1/mxregion.cpp +++ b/LEGO1/mxregion.cpp @@ -107,8 +107,7 @@ MxBool MxRegion::vtable1c(MxRect32& p_rect) MxRegionTopBottom* topBottom; while (cursor.Next(topBottom)) { - MxS32 top = topBottom->m_top; - if ((topBottom->m_top = top) >= p_rect.m_bottom) + if (topBottom->m_top >= p_rect.m_bottom) return FALSE; if (topBottom->m_bottom > p_rect.m_top && topBottom->FUN_100c57b0(p_rect)) return TRUE;