--- a/hedgewars/uCommandHandlers.pas Wed Nov 09 22:21:05 2011 -0500
+++ b/hedgewars/uCommandHandlers.pas Thu Nov 10 12:20:01 2011 -0500
@@ -615,7 +615,7 @@
RegisterVariable('seed' , vtCommand, @chSetSeed , false);
RegisterVariable('template_filter', vtLongInt, @cTemplateFilter, false);
RegisterVariable('mapgen' , vtLongInt, @cMapGen , false);
- RegisterVariable('maze_size',vtLongInt, @cMazeSize , false);
+ RegisterVariable('maze_size',vtLongInt, @cTemplateFilter, false);
RegisterVariable('delay' , vtLongInt, @cInactDelay , false);
RegisterVariable('ready' , vtLongInt, @cReadyDelay , false);
RegisterVariable('casefreq', vtLongInt, @cCaseFactor , false);
--- a/hedgewars/uLand.pas Wed Nov 09 22:21:05 2011 -0500
+++ b/hedgewars/uLand.pas Thu Nov 10 12:20:01 2011 -0500
@@ -856,7 +856,7 @@
end;
begin
-case cMazeSize of
+case cTemplateFilter of
0: begin
cellsize := small_cell_size;
maze_inverted := false;
--- a/hedgewars/uVariables.pas Wed Nov 09 22:21:05 2011 -0500
+++ b/hedgewars/uVariables.pas Thu Nov 10 12:20:01 2011 -0500
@@ -85,7 +85,6 @@
cMineDudPercent : LongWord;
cTemplateFilter : LongInt;
cMapGen : LongInt;
- cMazeSize : LongInt;
cRopePercent : LongWord;
cGetAwayTime : LongWord;
@@ -2462,7 +2461,6 @@
cMineDudPercent := 0;
cTemplateFilter := 0;
cMapGen := 0; // MAPGEN_REGULAR
- cMazeSize := 0;
cHedgehogTurnTime := 45000;
cMinesTime := 3000;
cMaxAIThinkTime := 9000;