From 1fb6adf390bf701e77530475f6d6263aa6b6899c Mon Sep 17 00:00:00 2001 From: ashi Date: Wed, 23 Nov 2022 16:22:52 +0000 Subject: [PATCH] change `|=` to `&=` --- src/p_enemy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index 6b8825b67..ece4f3814 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -1406,7 +1406,7 @@ void A_StatueBurst(mobj_t *actor) return; // make statue intangible upon spawning so you can't stand above the created object for 40 tics - actor->flags |= ~MF_SOLID; + actor->flags &= ~MF_SOLID; if (!locvar1 || !(new = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1))) return;