mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Simplify function
This commit is contained in:
@@ -160,8 +160,7 @@ void MxRegionTopBottom::FUN_100c5280(MxS32 p_left, MxS32 p_right)
|
||||
if (p_left > leftRight->m_left)
|
||||
p_left = leftRight->m_left;
|
||||
|
||||
if (leftRight->m_left < p_right) {
|
||||
do {
|
||||
while (leftRight->m_left < p_right) {
|
||||
if (p_right < leftRight->m_right)
|
||||
p_right = leftRight->m_right;
|
||||
|
||||
@@ -178,7 +177,6 @@ void MxRegionTopBottom::FUN_100c5280(MxS32 p_left, MxS32 p_right)
|
||||
break;
|
||||
|
||||
a = b;
|
||||
} while (leftRight->m_left < p_right);
|
||||
}
|
||||
|
||||
if (a.HasMatch()) {
|
||||
|
||||
Reference in New Issue
Block a user