hedgewars/uLandGenPerlin.pas
changeset 10492 0cf3b2762606
parent 10491 c92955fa8b67
child 10494 0eb97cf4c78e
--- a/hedgewars/uLandGenPerlin.pas	Tue Nov 11 17:00:34 2014 -0500
+++ b/hedgewars/uLandGenPerlin.pas	Tue Nov 11 17:25:47 2014 -0500
@@ -171,8 +171,12 @@
             end;
             }
 
-            if r < rCutoff then Land[y, x]:= 0 else Land[y, x]:= lfObjMask;
-
+            if r < rCutoff then
+                Land[y, x]:= 0
+            else if param1 = 0 then
+                Land[y, x]:= lfObjMask
+            else
+                Land[y, x]:= lfBasic 
         end;
     end;