hedgewars/uCommandHandlers.pas
changeset 10472 8d04cebedb16
parent 10455 e167cfdf6e80
child 10510 9329dab04490
--- a/hedgewars/uCommandHandlers.pas	Sat Nov 08 10:11:16 2014 -0500
+++ b/hedgewars/uCommandHandlers.pas	Sat Nov 08 11:26:16 2014 -0500
@@ -674,6 +674,11 @@
 cTemplateFilter:= StrToInt(s)
 end;
 
+procedure chFeatureSize(var s: shortstring);
+begin
+cFeatureSize:= StrToInt(s)
+end;
+
 procedure chInactDelay(var s: shortstring);
 begin
 cInactDelay:= StrToInt(s)
@@ -814,6 +819,7 @@
     RegisterVariable('template_filter', @chTemplateFilter, false);
     RegisterVariable('mapgen'  , @chMapGen        , false);
     RegisterVariable('maze_size',@chTemplateFilter, false);
+    RegisterVariable('feature_size',@chFeatureSize, false);
     RegisterVariable('delay'   , @chInactDelay    , false);
     RegisterVariable('ready'   , @chReadyDelay    , false);
     RegisterVariable('casefreq', @chCaseFactor    , false);