hedgewars/uLand.pas
changeset 4374 bcefeeabaa33
parent 4368 b89235e401e5
child 4377 43945842da0c
--- a/hedgewars/uLand.pas	Thu Nov 18 09:12:27 2010 +0300
+++ b/hedgewars/uLand.pas	Thu Nov 18 11:32:47 2010 +0300
@@ -36,7 +36,7 @@
 
 implementation
 uses uConsole, uStore, uMisc, uRandom, uLandObjects, Adler32, uIO, uLandTexture, sysutils,
-     uVariables;
+     uVariables, uUtils;
 
 operator=(const a, b: direction) c: Boolean;
 begin
@@ -358,7 +358,7 @@
                 r.x:= x mod tmpsurf^.w;
                 r.y:= 0;
                 r.w:= 1;
-                r.h:= min(16, yd - yu + 1);
+                r.h:= Min(16, yd - yu + 1);
                 SDL_UpperBlit(tmpsurf, @r, Surface, @rr);
             end;
             yd:= yu - 1;