From: LegendaryGuard Date: Thu, 9 Dec 2021 11:19:35 +0000 (+0100) Subject: Fix sound, CH_VOICE and VOICETYPE_TAUNT doesn't work X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9f353a2d873c666f560c98474c4630f6c756c8fc;p=xonotic%2Fxonotic-data.pk3dir.git Fix sound, CH_VOICE and VOICETYPE_TAUNT doesn't work --- diff --git a/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc b/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc index 323e0911d..71e563897 100644 --- a/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc +++ b/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc @@ -81,7 +81,7 @@ MUTATOR_HOOKFUNCTION(mh, PlayerPreThink) if(player.team == Team_IndexToTeam(2)) { // play sound to make hunter notice - sound(player, CH_VOICE, SND_RUNNER_TAUNT_RANDOM(), VOL_BASEVOICE, VOICETYPE_TAUNT); + sound(player, CH_SHOTS, SND_RUNNER_TAUNT_RANDOM(), VOL_BASEVOICE, ATTEN_NORM); player.RunnerSoundTaunt_time = time + autocvar_g_mh_autotaunt_runner_time; STAT(MH_RUNNER_TAUNTTIMER, player) = player.RunnerSoundTaunt_time; }