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;
@ -231,7 +234,6 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
} }
} }
} }
}
// FUNCTION: LEGO1 0x10072270 // FUNCTION: LEGO1 0x10072270
// FUNCTION: BETA10 0x10015470 // FUNCTION: BETA10 0x10015470