1
0
Fork 0
mirror of https://github.com/isledecomp/isle.git synced 2025-04-08 20:54:23 -04:00

match MxRegion::vtable1c

This commit is contained in:
Ramen2X 2023-10-27 17:19:04 -04:00
parent 3c8d4acbdf
commit 7b88625988

View file

@ -107,7 +107,8 @@ MxBool MxRegion::vtable1c(MxRect32& p_rect)
MxRegionTopBottom* topBottom;
while (cursor.Next(topBottom)) {
if (topBottom->m_top >= p_rect.m_bottom)
MxS32 top = topBottom->m_top;
if ((topBottom->m_top = top) >= p_rect.m_bottom)
return FALSE;
if (topBottom->m_bottom > p_rect.m_top && topBottom->FUN_100c57b0(p_rect))
return TRUE;