hedgewars/uCommandHandlers.pas
changeset 10237 282e49f9ce9d
parent 10228 947cadb40bc5
child 10249 b47ac2c19de3
--- a/hedgewars/uCommandHandlers.pas	Tue May 06 23:16:35 2014 +0400
+++ b/hedgewars/uCommandHandlers.pas	Wed May 07 00:04:02 2014 +0400
@@ -781,6 +781,11 @@
 WorldEdge:= TWorldEdge(StrToInt(s))
 end;
 
+procedure chAdvancedMapGenMode(var s:shortstring);
+begin
+  cAdvancedMapGenMode:= true;
+end;
+
 procedure initModule;
 begin
 //////// Begin top sorted by freq analysis not including chatmsg
@@ -864,6 +869,7 @@
     RegisterVariable('campvar' , @chCampVar      , true );
     RegisterVariable('record'  , @chRecord       , true );
     RegisterVariable('worldedge',@chWorldEdge    , false);
+    RegisterVariable('advmapgen',@chAdvancedMapGenMode, false);
 end;
 
 procedure freeModule;