From 06d284311411e93af18a4aea2a9d2e043e82db2e Mon Sep 17 00:00:00 2001 From: VelocitOni Date: Sun, 3 Aug 2025 15:58:29 -0400 Subject: [PATCH] If *not*, not if... I am an artist, not a coder --- src/objects/spb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objects/spb.c b/src/objects/spb.c index 4f056a45f..d34da47bb 100644 --- a/src/objects/spb.c +++ b/src/objects/spb.c @@ -154,7 +154,7 @@ static void SpawnSPBDust(mobj_t *spb) angle_t sa = spb->angle - ANG1*60; INT32 i; - if ((spb_intangible(spb) = SPB_FLASHING)) // If the SPB is intangible, don't spawn the "v" dust wave + if ((spb_intangible(spb) != SPB_FLASHING)) // If the SPB is intangible, don't spawn the "v" dust wave { if (spb->eflags & MFE_VERTICALFLIP) { @@ -205,7 +205,7 @@ static void SpawnSPBSliptide(mobj_t *spb, SINT8 dir) angle_t travelangle; fixed_t sz = spb->floorz; - if ((spb_intangible(spb) = SPB_FLASHING)) // Tired of this thing whacking people when switching targets, don't sliptide if intangible either + if ((spb_intangible(spb) != SPB_FLASHING)) // Tired of this thing whacking people when switching targets, don't sliptide if intangible either { if (spb->eflags & MFE_VERTICALFLIP) {