Update src/code_803E724.c

Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
This commit is contained in:
DizzyEggg 2024-10-09 19:47:08 +02:00 committed by GitHub
parent 0f72d97ac4
commit 8d979b9c83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1090,7 +1090,7 @@ void sub_803F7BC(void)
if (strPtr->unk1820B != 0 || strPtr->unk1820C != 0 || strPtr->unk18217 != 0) {
sub_8005838(NULL, 0);
}
else if (roomId == 0xFF) {
else if (roomId == CORRIDOR_ROOM) {
u32 kind = (strPtr->visibilityRange == 2) ? 1 : 2;
sub_8005838(NULL, kind);
}