mirror of
https://github.com/zeldaret/tmc
synced 2026-05-24 15:21:09 -04:00
Fix condition
This commit is contained in:
+1
-1
@@ -276,7 +276,7 @@ NONMATCH("./asm/getEmptyEntity.s", Entity* GetEmptyEntity()) {
|
||||
currentEnt = listPtr->first;
|
||||
nextList = listPtr + 1;
|
||||
while ((u32)currentEnt != (u32)listPtr) {
|
||||
if (currentEnt->kind != MANAGER && (currentEnt->flags & 0x1c) == flags_ip &&
|
||||
if (currentEnt->kind != MANAGER && (currentEnt->flags & 0x1c) < flags_ip &&
|
||||
gUpdateContext.current_entity != currentEnt) {
|
||||
flags_ip = currentEnt->flags & 0x1c;
|
||||
rv = currentEnt;
|
||||
|
||||
Reference in New Issue
Block a user