hedgewars/uLand.pas
changeset 10421 87e47843018e
parent 10391 ce3ccc45d790
child 10490 b30b8d39d662
--- a/hedgewars/uLand.pas	Thu Oct 02 00:06:59 2014 +0200
+++ b/hedgewars/uLand.pas	Thu Oct 02 00:40:25 2014 +0200
@@ -545,10 +545,10 @@
             begin
             WriteLnToConsole('Generating land...');
             case cMapGen of
-                0: GenTemplated(EdgeTemplates[SelectTemplate]);
-                1: begin ResizeLand(4096,2048); GenMaze; end;
-                2: begin ResizeLand(4096,2048); GenPerlin; end;
-                3: GenDrawnMap;
+                mgRandom: GenTemplated(EdgeTemplates[SelectTemplate]);
+                mgMaze  : begin ResizeLand(4096,2048); GenMaze; end;
+                mgPerlin: begin ResizeLand(4096,2048); GenPerlin; end;
+                mgDrawn : GenDrawnMap;
             else
                 OutError('Unknown mapgen', true);
             end;