hedgewars/uGearsList.pas
changeset 7176 fb4b0c6dfdbd
parent 7168 8defaabce92e
child 7272 71df899c4163
--- a/hedgewars/uGearsList.pas	Sun Jun 03 23:04:21 2012 -0400
+++ b/hedgewars/uGearsList.pas	Mon Jun 04 08:11:47 2012 -0400
@@ -546,7 +546,8 @@
         inc(KilledHHs);
         RecountTeamHealth(team);
         if (CurrentHedgehog <> nil) and (CurrentHedgehog^.Effects[heResurrectable] <> 0)  and
-        (Gear^.Hedgehog^.Effects[heResurrectable] = 0) then
+        //(Gear^.Hedgehog^.Effects[heResurrectable] = 0) then
+        (Gear^.Hedgehog^.Team^.Clan <> CurrentHedgehog^.Team^.Clan) then
             with CurrentHedgehog^ do 
                 begin
                 inc(Team^.stats.AIKills);