More cleanup

This commit is contained in:
jonschz 2025-07-13 09:58:33 +02:00
parent ebc9de60ff
commit 9f4439ef8f

View File

@ -187,7 +187,10 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
// Removing it decreases the match percentage. // Removing it decreases the match percentage.
Act3List::iterator unused_iterator; Act3List::iterator unused_iterator;
if (!empty()) { if (empty()) {
return;
}
if (!p_objectId) { if (!p_objectId) {
pop_front(); pop_front();
removed = TRUE; removed = TRUE;
@ -230,7 +233,6 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
InvokeAction(Extra::e_start, *g_act3Script, firstItem.m_objectId, NULL); InvokeAction(Extra::e_start, *g_act3Script, firstItem.m_objectId, NULL);
} }
} }
}
} }
// FUNCTION: LEGO1 0x10072270 // FUNCTION: LEGO1 0x10072270