Learn hask^Wpascal, dudes!
authorunc0rr
Mon, 14 May 2012 22:47:56 +0400
changeset 7079 939f53515489
parent 7078 a3408d9ba5ad
child 7080 dbf43c07a507
child 7081 4900e3cd8fc4
Learn hask^Wpascal, dudes!
hedgewars/uLand.pas
--- 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...');