From 9ca04dcae73ed8ee4ad711ee661239b8145b331e Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 10 Feb 2024 12:50:09 -0500 Subject: [PATCH] Rename --- LEGO1/lego/legoomni/src/common/legoutil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoutil.cpp b/LEGO1/lego/legoomni/src/common/legoutil.cpp index 0ac84ccd..7fee3aaa 100644 --- a/LEGO1/lego/legoomni/src/common/legoutil.cpp +++ b/LEGO1/lego/legoomni/src/common/legoutil.cpp @@ -138,10 +138,10 @@ void NotifyEntity(const char* p_filename, MxS32 p_entityId, LegoEntity* p_sender if (entity == NULL) { LegoWorldListCursor cursor(Lego()->GetWorldList()); - LegoWorld* current; + LegoWorld* world; - while (cursor.Next(current)) { - entity = (LegoEntity*) current->Find(atom, p_entityId); + while (cursor.Next(world)) { + entity = (LegoEntity*) world->Find(atom, p_entityId); if (entity != NULL) break;