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 bef0ec6..92f0dca 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