This commit is contained in:
Ethan Roseman 2020-10-09 15:07:58 -04:00
parent 41e9cf18ba
commit 2ddeb1c5b1

View File

@ -49,12 +49,12 @@ s32 func_80145CE8(s32 arg0) {
}
for (i = 0; i < ARRAY_COUNT(gCurrentTriggerListPtr); i++) {
Trigger* curTrigger = (*gCurrentTriggerListPtr)[i];
Trigger* trigger = (*gCurrentTriggerListPtr)[i];
if ((curTrigger != NULL) &&
(curTrigger->unk_30 != 0) &&
(curTrigger->params2 == arg0) &&
(curTrigger->flags.flags & 0x100)) {
if ((trigger != NULL) &&
(trigger->unk_30 != 0) &&
(trigger->params2 == arg0) &&
(trigger->flags.flags & 0x100)) {
return 1;
}
}