]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Attenuate and channeling sound function
authorLegendaryGuard <rootuser999@gmail.com>
Wed, 8 Dec 2021 16:18:49 +0000 (17:18 +0100)
committerLegendaryGuard <rootuser999@gmail.com>
Wed, 8 Dec 2021 16:18:49 +0000 (17:18 +0100)
qcsrc/common/gamemodes/gamemode/mh/sv_mh.qc

index 71e5638970b7afe7043653df37206a41ba99628a..323e0911da309d7100a0d61b5e8faf7de290af38 100644 (file)
@@ -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;
                                }