hedgewars/uLand.pas
changeset 7079 939f53515489
parent 7063 a0326412e96a
child 7151 ec15d9e1a7e3
--- a/hedgewars/uLand.pas	Sun May 13 18:50:04 2012 -0400
+++ b/hedgewars/uLand.pas	Mon May 14 22:47:56 2012 +0400
@@ -26,7 +26,7 @@
 procedure freeModule;
 procedure DrawBottomBorder;
 procedure GenMap;
-procedure GenPreview(var Preview: TPreview);
+procedure GenPreview(out Preview: TPreview);
 
 implementation
 uses uConsole, uStore, uRandom, uLandObjects, uIO, uLandTexture, SysUtils,
@@ -677,7 +677,7 @@
 UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT);
 end;
 
-procedure GenPreview(var Preview: TPreview);
+procedure GenPreview(out Preview: TPreview);
 var x, y, xx, yy, t, bit, cbit, lh, lw: LongInt;
 begin
     WriteLnToConsole('Generating preview...');