If *not*, not if...

I am an artist, not a coder
This commit is contained in:
VelocitOni 2025-08-03 15:58:29 -04:00
parent 211452456d
commit 06d2843114

View file

@ -154,7 +154,7 @@ static void SpawnSPBDust(mobj_t *spb)
angle_t sa = spb->angle - ANG1*60; angle_t sa = spb->angle - ANG1*60;
INT32 i; 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) if (spb->eflags & MFE_VERTICALFLIP)
{ {
@ -205,7 +205,7 @@ static void SpawnSPBSliptide(mobj_t *spb, SINT8 dir)
angle_t travelangle; angle_t travelangle;
fixed_t sz = spb->floorz; 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) if (spb->eflags & MFE_VERTICALFLIP)
{ {