hedgewars/uCommandHandlers.pas
changeset 9489 0818d14e90be
parent 9080 9b42757d7e71
child 9521 8054d9d775fd
child 9670 1954f692e8c6
--- a/hedgewars/uCommandHandlers.pas	Thu Oct 03 12:22:12 2013 -0400
+++ b/hedgewars/uCommandHandlers.pas	Thu Oct 03 14:47:33 2013 -0400
@@ -797,6 +797,11 @@
   CampaignVariable := s;
 end;
 
+procedure chWorldEdge(var s: shortstring);
+begin
+WorldEdge:= TWorldEdge(StrToInt(s))
+end;
+
 procedure initModule;
 begin
 //////// Begin top sorted by freq analysis not including chatmsg
@@ -882,6 +887,7 @@
     RegisterVariable('-cur_r'  , @chCurR_m       , true );
     RegisterVariable('campvar' , @chCampVar      , true );
     RegisterVariable('record'  , @chRecord       , true );
+    RegisterVariable('worldedge',@chWorldEdge    , false);
 end;
 
 procedure freeModule;