mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +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) {
|
if (entity == NULL) {
|
||||||
LegoWorldListCursor cursor(Lego()->GetWorldList());
|
LegoWorldListCursor cursor(Lego()->GetWorldList());
|
||||||
LegoWorld* current;
|
LegoWorld* world;
|
||||||
|
|
||||||
while (cursor.Next(current)) {
|
while (cursor.Next(world)) {
|
||||||
entity = (LegoEntity*) current->Find(atom, p_entityId);
|
entity = (LegoEntity*) world->Find(atom, p_entityId);
|
||||||
|
|
||||||
if (entity != NULL)
|
if (entity != NULL)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user