summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-01-31 11:23:42 -0800
committertheo3 <arisstephenson2@gmail.com>2021-01-31 11:23:42 -0800
commitced13c2c8d727e01bdb687a4c982ed9296c9e10e (patch)
tree90a244a8a4ee7aba1106deae3673c50c8972cbde /src/object
parentb9e07c12024895de9abde045cc1d1421a5bc2139 (diff)
finish main.c
Diffstat (limited to 'src/object')
-rw-r--r--src/object/lightableSwitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/lightableSwitch.c b/src/object/lightableSwitch.c
index ecc6449e..16609d50 100644
--- a/src/object/lightableSwitch.c
+++ b/src/object/lightableSwitch.c
@@ -60,7 +60,7 @@ void sub_0809EABC(Entity* this) {
u32 f;
f = CheckFlags(this->field_0x86.HWORD);
- anySet = (-f | f) >> 0x1F;
+ anySet = BOOLCAST(f);
if (this->frameIndex != anySet) {
this->frameIndex = anySet;
}