From: LegendaryGuard Date: Wed, 8 Dec 2021 16:18:49 +0000 (+0100) Subject: Attenuate and channeling sound function X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2b1f28dcb78eb331fd28ca1015f254bbde2099d;p=xonotic%2Fxonotic-data.pk3dir.git Attenuate and channeling sound function --- diff --git a/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc b/qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc index 71e563897..323e0911d 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_SHOTS, SND_RUNNER_TAUNT_RANDOM(), VOL_BASEVOICE, ATTEN_NORM); + sound(player, CH_VOICE, SND_RUNNER_TAUNT_RANDOM(), VOL_BASEVOICE, VOICETYPE_TAUNT); player.RunnerSoundTaunt_time = time + autocvar_g_mh_autotaunt_runner_time; STAT(MH_RUNNER_TAUNTTIMER, player) = player.RunnerSoundTaunt_time; }