If "spb_swapcount" is GREATER than maxswaps, kill damaging stuff

I can make 200 frame sakuga animations but I can't read a simple statement
This commit is contained in:
VelocitOni 2025-08-03 14:59:07 -04:00
parent 1f14ac76bc
commit c6deb0a7b0

View file

@ -202,7 +202,7 @@ static void SpawnSPBSliptide(mobj_t *spb, SINT8 dir)
angle_t travelangle;
fixed_t sz = spb->floorz;
if ((spb_modetimer(spb) != SPB_HOTPOTATO) || (spb_swapcount(spb) < SPB_MAXSWAPS + 1)) // Tired of this thing whacking people when switching targets
if ((spb_modetimer(spb) != SPB_HOTPOTATO) || (spb_swapcount(spb) == SPB_MAXSWAPS + 1)) // Tired of this thing whacking people when switching targets
{
if (spb->eflags & MFE_VERTICALFLIP)
{