]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Revert another part of the code
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 01:26:22 +0000 (03:26 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 01:26:22 +0000 (03:26 +0200)
data/qcsrc/server/cl_player.qc

index bef0ec68355d2b26fd0af6c57ac306384673c69a..92f0dca69f281188b98a5503487bd3b1f541a14e 100644 (file)
@@ -1293,7 +1293,6 @@ void GlobalSound(string sample, float chan, float voicetype)
                                break;\r
                        tauntrand = random();\r
                        FOR_EACH_REALCLIENT(msg_entity)\r
-                       {\r
                                if (tauntrand < msg_entity.cvar_cl_autotaunt)\r
                                if (msg_entity.cvar_cl_voice_directional >= 1)\r
                                {\r
@@ -1304,7 +1303,6 @@ void GlobalSound(string sample, float chan, float voicetype)
                                }\r
                                else\r
                                        soundto(MSG_ONE, self, chan, sample, VOL_BASEVOICE, ATTN_NONE);\r
-                       }\r
                        break;\r
                case VOICETYPE_TAUNT:\r
                        if(self.classname == "player")\r