DEADSOFTWARE

fixed bug in grid updates for moving objects
[d2df-sdl.git] / src / game / g_map.pas
index 6bae3695568f44127da5ec7890efb32c1a15a2be..bf4bd8a7cf90fb01805877988977279cfc6f494c 100644 (file)
@@ -1130,7 +1130,7 @@ var
     pan: TPanel;
   begin
     tag := panelTypeToTag(tag);
-    for idx := High(panels) downto 0 do
+    for idx := 0 to High(panels) do
     begin
       pan := panels[idx];
       pan.tag := tag;