summaryrefslogtreecommitdiff
path: root/src/code/z_sub_s.c
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2022-02-27 17:37:24 -0500
committerGitHub <noreply@github.com>2022-02-27 17:37:24 -0500
commit684df37ebca2552463f449d1d3d9115de5cf8ed0 (patch)
treea4565dfb30972da6bb30aba99637fc4eabc17834 /src/code/z_sub_s.c
parent91b983776e33948ebe0f14eb358bc1595c2c2251 (diff)
En_Door (#571)
* progress * it matches mostly * symbols * done for now * fix warnings and stuff * formatter * NON_EQUIVALENT * pr fixes * formatter and actorfixer * fix pm * more fixes * PR fixes * it actually builds again * matching function Co-authored-by: Louis <louist103@pop-os.localdomain>
Diffstat (limited to 'src/code/z_sub_s.c')
-rw-r--r--src/code/z_sub_s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_sub_s.c b/src/code/z_sub_s.c
index eda973125..52a5b07da 100644
--- a/src/code/z_sub_s.c
+++ b/src/code/z_sub_s.c
@@ -21,7 +21,7 @@ EnDoor* SubS_FindDoor(GlobalContext* globalCtx, s32 unk_1A5) {
break;
}
- if ((door->unk_1A4 == 5) && (door->unk_1A5 == (u8)unk_1A5)) {
+ if ((door->unk_1A4 == 5) && (door->switchFlag == (u8)unk_1A5)) {
break;
}