# HG changeset patch
# User nemo
# Date 1288489727 14400
# Node ID 0f8ec120e90d3350f826992f77d034dc165fb742
# Parent  69e535a0e43ac8a11c1d31c1a48828962ad86ead
set hasGone to prevent resurrection.

diff -r 69e535a0e43a -r 0f8ec120e90d hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Sat Oct 30 21:39:50 2010 -0400
+++ b/hedgewars/uGears.pas	Sat Oct 30 21:48:47 2010 -0400
@@ -601,7 +601,10 @@
                 if (team^.Clan^.Teams[i]^.Hedgehogs[0].Gear <> nil) then k:= true;
             if not k then
                 for i:= 0 to Pred(team^.Clan^.TeamsNumber) do
+                    begin
+                    team^.Clan^.Teams[i]^.hasGone:= true;
                     TeamGoneEffect(team^.Clan^.Teams[i]^)
+                    end
             end;
         inc(KilledHHs);
         RecountTeamHealth(team)