hedgewars/uGears.pas
changeset 11739 f48408dcea36
parent 11710 4b2179d9516c
child 11755 f146a3d71340
--- a/hedgewars/uGears.pas	Tue Apr 26 20:51:13 2016 +0200
+++ b/hedgewars/uGears.pas	Tue Apr 26 22:09:50 2016 +0200
@@ -749,7 +749,7 @@
 Count:= 0;
 // add hedgehogs to the array in clan order
 for p:= 0 to (ClansCount - 1) do
-    with ClansArray[p]^ do
+    with SpawnClansArray[p]^ do
         begin
         // count hogs in this clan
         clCount:= 0;
@@ -832,7 +832,7 @@
     t:= leftX;
     for p:= 0 to (ClansCount - 1) do
         begin
-        with ClansArray[p]^ do
+        with SpawnClansArray[p]^ do
             for j:= 0 to Pred(TeamsNumber) do
                 with Teams[j]^ do
                     for i:= 0 to cMaxHHIndex do