summaryrefslogtreecommitdiff
path: root/src/object/pushableRock.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/pushableRock.c
parent33579844948ca5c2ed9e1e353fba8b9571f7104d (diff)
cleanup
Diffstat (limited to 'src/object/pushableRock.c')
-rw-r--r--src/object/pushableRock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/pushableRock.c b/src/object/pushableRock.c
index 75a9733e..20c84f43 100644
--- a/src/object/pushableRock.c
+++ b/src/object/pushableRock.c
@@ -75,13 +75,13 @@ void PushableRock_Action2(PushableRockEntity* this) {
super->speed = PushableRock_Speeds[super->frame & 0xf];
LinearMoveUpdate(super);
GetNextFrame(super);
- if (super->frame & 0x80) {
+ if (super->frame & ANIM_DONE) {
super->action = 0;
}
}
void PushableRock_Action3(PushableRockEntity* this) {
- if ((super->frame & 0x80) == 0) {
+ if ((super->frame & ANIM_DONE) == 0) {
GetNextFrame(super);
} else {
super->spritePriority.b0 = 7;