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;
|
||||
@ -230,7 +233,6 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
|
||||
InvokeAction(Extra::e_start, *g_act3Script, firstItem.m_objectId, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10072270
|
||||
|
||||
Loading…
Reference in New Issue
Block a user