From: MirceaKitsune Date: Thu, 9 Sep 2010 22:09:48 +0000 (+0300) Subject: Remove an useless check from the "same team" messages. Team mates will now complain... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ab9a2e2dab76e7edd850c17ccd7ca4bd5394894;p=voretournament%2Fvoretournament.git Remove an useless check from the "same team" messages. Team mates will now complain if you kick in their stomach or digest them --- diff --git a/data/qcsrc/server/g_damage.qc b/data/qcsrc/server/g_damage.qc index 0562a144..86b2952e 100644 --- a/data/qcsrc/server/g_damage.qc +++ b/data/qcsrc/server/g_damage.qc @@ -827,13 +827,12 @@ void Damage (entity targ, entity inflictor, entity attacker, float damage, float { if(deathtype != DEATH_FIRE) attacker.typehitsound += 1; - if(mirrordamage > 0) - if(time > attacker.teamkill_complain) - { - attacker.teamkill_complain = time + 5; - attacker.teamkill_soundtime = time + 0.4; - attacker.teamkill_soundsource = targ; - } + if(time > attacker.teamkill_complain) + { + attacker.teamkill_complain = time + 5; + attacker.teamkill_soundtime = time + 0.4; + attacker.teamkill_soundsource = targ; + } } } }