mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Rename
This commit is contained in:
parent
0644633fb8
commit
9ca04dcae7
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user