From 8f37395ae8d09bccbae0596490ab5166db93f8e8 Mon Sep 17 00:00:00 2001 From: jonschz Date: Sat, 12 Jul 2025 22:04:03 +0200 Subject: [PATCH] 47 % with random changes --- LEGO1/lego/legoomni/src/worlds/act3.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/act3.cpp b/LEGO1/lego/legoomni/src/worlds/act3.cpp index a200128b..aaf62ae6 100644 --- a/LEGO1/lego/legoomni/src/worlds/act3.cpp +++ b/LEGO1/lego/legoomni/src/worlds/act3.cpp @@ -217,16 +217,16 @@ void Act3List::FUN_100720d0(MxU32 p_objectId) // TODO: Something is wrong about these first two lines // LINE: LEGO1 0x1007215d - Act3List::iterator its = begin()++; + Act3List::iterator it = begin(); - Act3ListElement& firstItem = *(its++); + Act3ListElement& firstItem = *it++; // // LINE: LEGO1 0x100721d4 Not pinnable, appears multiple times - for (Act3List::iterator it = its; it != end(); it++) { + for (; it != end(); it++) { // LINE: LEGO1 0x1007217c if ((*it).m_unk0x04 == 1) { // LINE: LEGO1 0x100721a0 - for (Act3List::iterator it2 = begin()++; it2 != it; it2 = erase(it2)) { + for (Act3List::iterator it2 = begin(); it2 != it; it2 = erase(it2)) { // LINE: LEGO1 0x10072191 if ((*it2).m_hasStarted) { // LINE: LEGO1 0x10072202