From 5d144243e5f6b5513822ec6134938e5dc98c4fa6 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Fri, 21 Jul 2023 00:48:41 -0700 Subject: [PATCH] Play wavedash sounds at full volume --- src/k_kart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index 31ee0be8e..4b158debe 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -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