mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable e-brake vfx
This commit is contained in:
parent
e331910fe3
commit
678e674d65
1 changed files with 4 additions and 1 deletions
|
|
@ -10108,11 +10108,12 @@ void K_KartEbrakeVisuals(player_t *p)
|
|||
wave->momy = p->mo->momy;
|
||||
wave->momz = p->mo->momz;
|
||||
wave->standingslope = p->mo->standingslope;
|
||||
K_ReduceVFX(wave, p);
|
||||
}
|
||||
|
||||
// sound
|
||||
if (!S_SoundPlaying(p->mo, sfx_s3kd9s))
|
||||
S_StartSound(p->mo, sfx_s3kd9s);
|
||||
S_ReducedVFXSound(p->mo, sfx_s3kd9s, p);
|
||||
|
||||
// HOLD! bubble.
|
||||
if (!p->ebrakefor)
|
||||
|
|
@ -10134,6 +10135,7 @@ void K_KartEbrakeVisuals(player_t *p)
|
|||
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.
|
||||
K_FlipFromObject(p->mo->hprev, p->mo);
|
||||
K_ReduceVFX(p->mo->hprev, p);
|
||||
p->mo->hprev->sprzoff = p->mo->sprzoff;
|
||||
}
|
||||
|
||||
|
|
@ -10147,6 +10149,7 @@ void K_KartEbrakeVisuals(player_t *p)
|
|||
spdl->colorized = true;
|
||||
spdl->color = SKINCOLOR_WHITE;
|
||||
K_MatchGenericExtraFlags(spdl, p->mo);
|
||||
K_ReduceVFX(spdl, p);
|
||||
P_SetScale(spdl, p->mo->scale);
|
||||
|
||||
// squish the player a little bit.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue