mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Play wavedash sounds at full volume
This commit is contained in:
parent
4feafc99f0
commit
5d144243e5
1 changed files with 4 additions and 4 deletions
|
|
@ -9672,7 +9672,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
if (!keepsliptide && K_IsLosingSliptideZip(player) && player->sliptideZip > 0)
|
||||
{
|
||||
if (!S_SoundPlaying(player->mo, sfx_waved2))
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved2, 255/2); // Losing combo time, going to boost
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved2, 255); // Losing combo time, going to boost
|
||||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved4);
|
||||
player->sliptideZipDelay++;
|
||||
|
|
@ -9703,7 +9703,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
player->sliptideZipBoost += yourBoost;
|
||||
|
||||
K_SpawnDriftBoostExplosion(player, 0);
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved3, 2*255/3); // Boost
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved3, 255); // Boost
|
||||
}
|
||||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
|
|
@ -9717,7 +9717,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
if (player->sliptideZip > 0 && !S_SoundPlaying(player->mo, sfx_waved4))
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved4, 2*255/5); // Passive woosh
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved4, 255); // Passive woosh
|
||||
}
|
||||
|
||||
player->aizdrifttilt -= player->aizdrifttilt / 4;
|
||||
|
|
@ -9734,7 +9734,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
S_StopSoundByID(player->mo, sfx_waved4);
|
||||
if (!S_SoundPlaying(player->mo, sfx_waved1))
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved1, 255/2); // Charging
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved1, 255); // Charging
|
||||
}
|
||||
|
||||
if (player->drift
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue