]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_player.qc
get rid of CHAN_VOICE now
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_player.qc
index abee5c9d713df44227d593a6060c06905742e459..21915eac6cb79e2bc66f08c3e9e655adf25d6d5f 100644 (file)
@@ -1336,9 +1336,9 @@ void VoiceMessage(string type, string msg)
        flood = Say(self, ownteam, world, msg, 1);
 
        if (flood > 0)
-               GlobalSound(self.sample, CHAN_VOICE, voicetype);
+               GlobalSound(self.sample, CH_VOICE, voicetype);
        else if (flood < 0)
-               FakeGlobalSound(self.sample, CHAN_VOICE, voicetype);
+               FakeGlobalSound(self.sample, CH_VOICE, voicetype);
 }
 
 void MoveToTeam(entity client, float team_colour, float type, float show_message)