hedgewars/uLandObjects.pas
changeset 7069 bcf9d8e64e92
parent 7063 a0326412e96a
child 7543 a0dc770538e1
--- a/hedgewars/uLandObjects.pas	Sat May 12 22:50:33 2012 +0400
+++ b/hedgewars/uLandObjects.pas	Sat May 12 23:55:09 2012 +0400
@@ -803,17 +803,17 @@
 end;
 
 procedure AddObjects();
-var i, int: Longword;
+var i, g: Longword;
 begin
 InitRects;
 if hasGirders then
     begin
-    int:= max(playWidth div 8, 256);
-    i:=leftX+int;
+    g:= max(playWidth div 8, 256);
+    i:= leftX + g;
     repeat
         AddGirder(i);
-        i:=i+int;
-    until (i>rightX-int);
+        i:=i + g;
+    until (i > rightX - g);
     end;
 if (GameFlags and gfDisableLandObjects) = 0 then
     AddThemeObjects(ThemeObjects);