diff -r 90585aba87ad -r 249adefa9c1c hedgewars/uLandObjects.pas --- a/hedgewars/uLandObjects.pas Sat Jan 16 17:30:37 2010 +0000 +++ b/hedgewars/uLandObjects.pas Mon Jan 18 05:36:08 2010 +0000 @@ -28,13 +28,13 @@ procedure AddOnLandObjects(Surface: PSDL_Surface); implementation -uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uFloat, +uses uLand, uStore, uConsts, uMisc, uConsole, uRandom, uVisualGears, uFloat, uSound, uWorld, {$IFDEF GLES11} - gles11, + gles11; {$ELSE} - GL, + GL; {$ENDIF} - uSound, uWorld; + const MaxRects = 512; MAXOBJECTRECTS = 16; MAXTHEMEOBJECTS = 32;