From f1c18ceadf32ab48e64fa05409b09552119f9ef2 Mon Sep 17 00:00:00 2001 From: jonschz Date: Sun, 13 Jul 2025 11:20:44 +0200 Subject: [PATCH] Fix naming --- LEGO1/lego/legoomni/src/worlds/act3.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/act3.cpp b/LEGO1/lego/legoomni/src/worlds/act3.cpp index fb8491fe..d48a3980 100644 --- a/LEGO1/lego/legoomni/src/worlds/act3.cpp +++ b/LEGO1/lego/legoomni/src/worlds/act3.cpp @@ -184,7 +184,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId) Act3List::iterator it; // This iterator appears to be unnecessary - maybe left in by accident, or it was used for assertions. // Removing it decreases the match percentage. - Act3List::iterator unused_iterator; + Act3List::iterator unusedIterator; if (empty()) { return; @@ -209,7 +209,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId) if (removed && size() > 0) { it = begin(); - unused_iterator = it; + unusedIterator = it; Act3ListElement& firstItem = front(); it++; @@ -224,7 +224,7 @@ void Act3List::RemoveByObjectIdOrFirst(MxU32 p_objectId) } it++; - unused_iterator++; + unusedIterator++; } if (!firstItem.m_hasStarted) {