Fix naming

This commit is contained in:
jonschz 2025-07-13 11:20:44 +02:00
parent 364ed55536
commit f1c18ceadf

View File

@ -184,7 +184,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
Act3List::iterator it; Act3List::iterator it;
// This iterator appears to be unnecessary - maybe left in by accident, or it was used for assertions. // This iterator appears to be unnecessary - maybe left in by accident, or it was used for assertions.
// Removing it decreases the match percentage. // Removing it decreases the match percentage.
Act3List::iterator unused_iterator; Act3List::iterator unusedIterator;
if (empty()) { if (empty()) {
return; return;
@ -209,7 +209,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
if (removed && size() > 0) { if (removed && size() > 0) {
it = begin(); it = begin();
unused_iterator = it; unusedIterator = it;
Act3ListElement& firstItem = front(); Act3ListElement& firstItem = front();
it++; it++;
@ -224,7 +224,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId)
} }
it++; it++;
unused_iterator++; unusedIterator++;
} }
if (!firstItem.m_hasStarted) { if (!firstItem.m_hasStarted) {