summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/code_80118A4.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/code_80118A4.c b/src/code_80118A4.c
index c05a8db..73cb8b2 100644
--- a/src/code_80118A4.c
+++ b/src/code_80118A4.c
@@ -178,10 +178,7 @@ u32 sub_8011940(u16 r0)
temp = sub_800C068();
if(r0 == 999)
- {
- temp ^= 999;
- return (-temp | temp) >> 31;
- }
+ return temp != 999;
return temp == r0;
}