summaryrefslogtreecommitdiff
path: root/src/object/pushableLever.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-03-17 19:13:56 -0700
committertheo3 <arisstephenson2@gmail.com>2022-03-17 19:16:43 -0700
commitef470547e04f2cbc50b98d6578932f1188d25dbd (patch)
tree4a5e5bffb8ea301bd15b8bda4627c48ccf052cce /src/object/pushableLever.c
parent33579844948ca5c2ed9e1e353fba8b9571f7104d (diff)
cleanup
Diffstat (limited to 'src/object/pushableLever.c')
-rw-r--r--src/object/pushableLever.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/pushableLever.c b/src/object/pushableLever.c
index 503f75d2..c546d23e 100644
--- a/src/object/pushableLever.c
+++ b/src/object/pushableLever.c
@@ -69,7 +69,7 @@ void PushableLever_Idle(PushableLeverEntity* this) {
void PushableLever_Pushing(PushableLeverEntity* this) {
GetNextFrame(super);
- if ((super->frame & 0x80) != 0) {
+ if ((super->frame & ANIM_DONE) != 0) {
if (super->type2 == 0) {
SetFlag(this->pushedFlag);
} else {