Disable e-brake vfx

This commit is contained in:
Sally Coolatta 2022-11-26 20:55:06 -05:00
parent e331910fe3
commit 678e674d65

View file

@ -10108,11 +10108,12 @@ void K_KartEbrakeVisuals(player_t *p)
wave->momy = p->mo->momy; wave->momy = p->mo->momy;
wave->momz = p->mo->momz; wave->momz = p->mo->momz;
wave->standingslope = p->mo->standingslope; wave->standingslope = p->mo->standingslope;
K_ReduceVFX(wave, p);
} }
// sound // sound
if (!S_SoundPlaying(p->mo, sfx_s3kd9s)) if (!S_SoundPlaying(p->mo, sfx_s3kd9s))
S_StartSound(p->mo, sfx_s3kd9s); S_ReducedVFXSound(p->mo, sfx_s3kd9s, p);
// HOLD! bubble. // HOLD! bubble.
if (!p->ebrakefor) if (!p->ebrakefor)
@ -10134,6 +10135,7 @@ void K_KartEbrakeVisuals(player_t *p)
p->mo->hprev->angle = p->mo->angle; p->mo->hprev->angle = p->mo->angle;
p->mo->hprev->fuse = TICRATE/2; // When we leave spindash for any reason, make sure this bubble goes away soon after. p->mo->hprev->fuse = TICRATE/2; // When we leave spindash for any reason, make sure this bubble goes away soon after.
K_FlipFromObject(p->mo->hprev, p->mo); K_FlipFromObject(p->mo->hprev, p->mo);
K_ReduceVFX(p->mo->hprev, p);
p->mo->hprev->sprzoff = p->mo->sprzoff; p->mo->hprev->sprzoff = p->mo->sprzoff;
} }
@ -10147,6 +10149,7 @@ void K_KartEbrakeVisuals(player_t *p)
spdl->colorized = true; spdl->colorized = true;
spdl->color = SKINCOLOR_WHITE; spdl->color = SKINCOLOR_WHITE;
K_MatchGenericExtraFlags(spdl, p->mo); K_MatchGenericExtraFlags(spdl, p->mo);
K_ReduceVFX(spdl, p);
P_SetScale(spdl, p->mo->scale); P_SetScale(spdl, p->mo->scale);
// squish the player a little bit. // squish the player a little bit.