mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Fix missing instructions
This commit is contained in:
@@ -53,7 +53,10 @@ void MxRegion::vtable18(MxRect32 &p_rect)
|
|||||||
cursor.Prepend(newTopBottom);
|
cursor.Prepend(newTopBottom);
|
||||||
rectCopy.m_top = rectCopy.m_bottom;
|
rectCopy.m_top = rectCopy.m_bottom;
|
||||||
}
|
}
|
||||||
else if (rectCopy.m_top < topBottom->m_bottom) {
|
else {
|
||||||
|
MxS32 *bottom = &topBottom->m_bottom;
|
||||||
|
|
||||||
|
if (rectCopy.m_top < *bottom) {
|
||||||
if (rectCopy.m_top < topBottom->m_top) {
|
if (rectCopy.m_top < topBottom->m_top) {
|
||||||
MxRect32 topBottomRect(
|
MxRect32 topBottomRect(
|
||||||
MxPoint32(rectCopy.m_left, rectCopy.m_top),
|
MxPoint32(rectCopy.m_left, rectCopy.m_top),
|
||||||
@@ -71,7 +74,7 @@ void MxRegion::vtable18(MxRect32 &p_rect)
|
|||||||
cursor.Prepend(newTopBottom);
|
cursor.Prepend(newTopBottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rectCopy.m_bottom < topBottom->m_top) {
|
if (rectCopy.m_bottom < *bottom) {
|
||||||
MxRegionTopBottom *newTopBottom = topBottom->Clone();
|
MxRegionTopBottom *newTopBottom = topBottom->Clone();
|
||||||
newTopBottom->m_bottom = rectCopy.m_bottom;
|
newTopBottom->m_bottom = rectCopy.m_bottom;
|
||||||
topBottom->m_top = rectCopy.m_bottom;
|
topBottom->m_top = rectCopy.m_bottom;
|
||||||
@@ -84,6 +87,7 @@ void MxRegion::vtable18(MxRect32 &p_rect)
|
|||||||
rectCopy.m_top = topBottom->m_top;
|
rectCopy.m_top = topBottom->m_top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (rectCopy.m_right <= rectCopy.m_left)
|
if (rectCopy.m_right <= rectCopy.m_left)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user