hedgewars/uLandGenMaze.pas
changeset 10189 875607ce793d
parent 10015 4feced261c68
child 10387 cb17b79844b5
--- a/hedgewars/uLandGenMaze.pas	Sun Mar 09 20:53:11 2014 -0400
+++ b/hedgewars/uLandGenMaze.pas	Mon Mar 10 22:47:29 2014 +0400
@@ -481,7 +481,7 @@
 DrawEdge(pa, 0);
 
 if maze_inverted then
-    FillLand(1, 1+off_y)
+    FillLand(1, 1+off_y, 0, 0)
 else
     begin
     x := 0;
@@ -489,7 +489,7 @@
         x := x + 1;
     while Land[cellsize div 2 + cellsize + off_y, x] = 0 do
         x := x + 1;
-    FillLand(x+1, cellsize div 2 + cellsize + off_y);
+    FillLand(x+1, cellsize div 2 + cellsize + off_y, 0, 0);
     end;
 
 MaxHedgehogs:= 32;