From 03fcc5a5bb0ec28a07c1ddf8099982e357dc2481 Mon Sep 17 00:00:00 2001 From: Elliptic Ellipsis Date: Mon, 21 Mar 2022 05:39:40 +0000 Subject: [PATCH] Define in FlyingPot --- src/enemy/flyingPot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enemy/flyingPot.c b/src/enemy/flyingPot.c index 93f87543..abba834c 100644 --- a/src/enemy/flyingPot.c +++ b/src/enemy/flyingPot.c @@ -96,7 +96,7 @@ void FlyingPot_OnCollision(FlyingPotEntity* this) { if (super->bitfield == 0x9D) { super->action = FLYING_POT_ACTION_6; - super->flags &= ~0x80; + COLLISION_OFF(super); super->zVelocity = 0x2A000; super->spritePriority.b1 = 1; @@ -143,7 +143,7 @@ void FlyingPot_SubAction2(FlyingPotEntity* this) { if (super->actionDelay == 0) { sub_08037418(this); super->actionDelay = 1; - super->flags &= ~0x80; + COLLISION_OFF(super); super->spriteOffsetX = 0; SetTile(this->tileIndex, TILE(super->x.HALF.HI, super->y.HALF.HI), super->collisionLayer);