mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 13:41:15 +00:00
More cleanup
This commit is contained in:
parent
ebc9de60ff
commit
9f4439ef8f
@ -187,7 +187,10 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
|
||||
// Removing it decreases the match percentage.
|
||||
Act3List::iterator unused_iterator;
|
||||
|
||||
if (!empty()) {
|
||||
if (empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!p_objectId) {
|
||||
pop_front();
|
||||
removed = TRUE;
|
||||
@ -231,7 +234,6 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10072270
|
||||
// FUNCTION: BETA10 0x10015470
|
||||
|
||||
Loading…
Reference in New Issue
Block a user