mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Use MxRect32 ctor
This commit is contained in:
@@ -38,12 +38,7 @@ void MxRegion::Reset()
|
|||||||
// OFFSET: LEGO1 0x100c3750
|
// OFFSET: LEGO1 0x100c3750
|
||||||
void MxRegion::vtable18(MxRect32 &p_rect)
|
void MxRegion::vtable18(MxRect32 &p_rect)
|
||||||
{
|
{
|
||||||
MxRect32 rectCopy;
|
MxRect32 rectCopy(p_rect.m_left, p_rect.m_top, p_rect.m_right, p_rect.m_bottom);
|
||||||
rectCopy.m_top = p_rect.m_top;
|
|
||||||
rectCopy.m_left = p_rect.m_left;
|
|
||||||
rectCopy.m_bottom = p_rect.m_bottom;
|
|
||||||
rectCopy.m_right = p_rect.m_right;
|
|
||||||
|
|
||||||
MxRegionListCursor cursor(m_list);
|
MxRegionListCursor cursor(m_list);
|
||||||
|
|
||||||
if (rectCopy.m_left < rectCopy.m_right) {
|
if (rectCopy.m_left < rectCopy.m_right) {
|
||||||
@@ -122,5 +117,4 @@ void MxRegionTopBottom::FUN_100c5280(MxS32 p_left, MxS32 p_right)
|
|||||||
MxRegionTopBottom *MxRegionTopBottom::Clone()
|
MxRegionTopBottom *MxRegionTopBottom::Clone()
|
||||||
{
|
{
|
||||||
return new MxRegionTopBottom(MxRect32());
|
return new MxRegionTopBottom(MxRect32());
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user