hedgewars/uLandObjects.pas
changeset 3407 dcc129c4352e
parent 3236 4ab3917d7d44
child 3463 23c50be687a9
--- a/hedgewars/uLandObjects.pas	Sun May 02 20:30:23 2010 +0000
+++ b/hedgewars/uLandObjects.pas	Sun May 02 22:00:50 2010 +0000
@@ -29,7 +29,7 @@
 procedure AddOnLandObjects(Surface: PSDL_Surface);
 
 implementation
-uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uFloat, uSound, uWorld, GLunit;
+uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uSound, GLunit;
 
 const MaxRects = 512;
       MAXOBJECTRECTS = 16;
@@ -205,7 +205,7 @@
 end;
 
 function CheckLand(rect: TSDL_Rect; dX, dY, Color: Longword): boolean;
-var i: Longword;
+var i: LongInt;
     bRes: boolean = true;
 begin
 inc(rect.x, dX);