hedgewars/uGears.pas
changeset 4037 0f8ec120e90d
parent 4024 1ffb84b3823d
child 4043 4bf039d637df
--- 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)