]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Remove an useless check from the "same team" messages. Team mates will now complain...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 22:09:48 +0000 (01:09 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 22:09:48 +0000 (01:09 +0300)
data/qcsrc/server/g_damage.qc

index 0562a14496616fb67e37862459784f79b512e845..86b2952efed93fc107136fd9212442b29c69d2c2 100644 (file)
@@ -827,13 +827,12 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, float
                                {\r
                                        if(deathtype != DEATH_FIRE)\r
                                                attacker.typehitsound += 1;\r
-                                       if(mirrordamage > 0)\r
-                                               if(time > attacker.teamkill_complain)\r
-                                               {\r
-                                                       attacker.teamkill_complain = time + 5;\r
-                                                       attacker.teamkill_soundtime = time + 0.4;\r
-                                                       attacker.teamkill_soundsource = targ;\r
-                                               }\r
+                                       if(time > attacker.teamkill_complain)\r
+                                       {\r
+                                               attacker.teamkill_complain = time + 5;\r
+                                               attacker.teamkill_soundtime = time + 0.4;\r
+                                               attacker.teamkill_soundsource = targ;\r
+                                       }\r
                                }\r
                        }\r
                }\r