oops 2
authornemo
Sun, 30 Jan 2011 19:02:32 -0500
changeset 4891 43706c0392e7
parent 4890 e8f2935f2c84
child 4892 b0610081ee95
oops 2
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Sun Jan 30 18:49:55 2011 -0500
+++ b/hedgewars/uScript.pas	Sun Jan 30 19:02:32 2011 -0500
@@ -570,7 +570,7 @@
             team:= clan^.Teams[i];
             for j:= 0 to 7 do
                 begin
-                hh:= team^.Hedgehogs[i];
+                hh:= team^.Hedgehogs[j];
                 if (hh.Gear <> nil) or (hh.GearHidden <> nil) then 
                     begin
                     FreeTexture(hh.NameTagTex);