mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-17 13:31:15 +00:00
Fix naming
This commit is contained in:
parent
364ed55536
commit
f1c18ceadf
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user