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;