mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +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) {
|
||||||
@@ -123,4 +118,3 @@ MxRegionTopBottom *MxRegionTopBottom::Clone()
|
|||||||
{
|
{
|
||||||
return new MxRegionTopBottom(MxRect32());
|
return new MxRegionTopBottom(MxRect32());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user