SPB Sliptide disabled during SPBHotPotato

S.P.B.'s sliptide dust should be disabled during both regular target swapping & it's death animation; we've never actually seen the intended metagame of this as a result in Ring Racers. EVER.
This commit is contained in:
VelocitOni 2025-08-03 01:53:51 -04:00
parent 07e7c00fb5
commit 64592326ec

View file

@ -202,6 +202,8 @@ 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_modetimer(spb) != SPB_HOTPOTATO) || (spb_swapcount(spb) > SPB_MAXSWAPS + 1)) // Tired of this thing whacking people when switching targets
{
if (spb->eflags & MFE_VERTICALFLIP) if (spb->eflags & MFE_VERTICALFLIP)
{ {
sz = spb->ceilingz; sz = spb->ceilingz;
@ -233,6 +235,8 @@ static void SpawnSPBSliptide(mobj_t *spb, SINT8 dir)
} }
} }
}
// Used for seeking and when SPB is trailing its target from way too close! // Used for seeking and when SPB is trailing its target from way too close!
static void SpawnSPBSpeedLines(mobj_t *spb) static void SpawnSPBSpeedLines(mobj_t *spb)
{ {