hedgewars/uLand.pas
changeset 4562 b55f78fd2bf6
parent 4559 194d5a7a3fd4
child 4900 8ad0e23e6d63
--- a/hedgewars/uLand.pas	Sun Dec 19 19:24:15 2010 +0300
+++ b/hedgewars/uLand.pas	Sun Dec 19 20:01:24 2010 +0300
@@ -1045,6 +1045,8 @@
         0: GenBlank(EdgeTemplates[SelectTemplate]);
         1: GenMaze;
         2: GenDrawnMap;
+    else
+        OutError('Unknown mapgen', true);
     end;
     AddProgress();
 
@@ -1286,6 +1288,8 @@
         0: GenBlank(EdgeTemplates[SelectTemplate]);
         1: GenMaze;
         2: GenDrawnMap;
+    else
+        OutError('Unknown mapgen', true);
     end;
 
     lh:= LAND_HEIGHT div 128;