QTfrontend/gamecfgwidget.cpp
changeset 3287 4f7b57ed18b6
parent 3236 4ab3917d7d44
child 3293 3e3a819d5b48
--- a/QTfrontend/gamecfgwidget.cpp	Sat Apr 03 13:51:12 2010 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Sat Apr 03 13:55:39 2010 +0000
@@ -132,6 +132,8 @@
         result |= 0x10000;
     if (schemeData(16).toBool())
         result |= 0x20000;
+    if (schemeData(17).toBool())
+        result |= 0x80000;
 
     return result;
 }
@@ -146,14 +148,14 @@
     QStringList sl;
     sl.append("eseed " + pMapContainer->getCurrentSeed());
     sl.append(QString("e$gmflags %1").arg(getGameFlags()));
-    sl.append(QString("e$damagepct %1").arg(schemeData(17).toInt()));
-    sl.append(QString("e$turntime %1").arg(schemeData(18).toInt() * 1000));
-    sl.append(QString("e$minestime %1").arg(schemeData(22).toInt() * 1000));
-    sl.append(QString("e$landadds %1").arg(schemeData(23).toInt()));
-    sl.append(QString("e$sd_turns %1").arg(schemeData(20).toInt()));
-    sl.append(QString("e$casefreq %1").arg(schemeData(21).toInt()));
-    sl.append(QString("e$minedudpct %1").arg(schemeData(24).toInt()));
-    sl.append(QString("e$explosives %1").arg(schemeData(25).toInt()));
+    sl.append(QString("e$damagepct %1").arg(schemeData(18).toInt()));
+    sl.append(QString("e$turntime %1").arg(schemeData(19).toInt() * 1000));
+    sl.append(QString("e$minestime %1").arg(schemeData(23).toInt() * 1000));
+    sl.append(QString("e$landadds %1").arg(schemeData(24).toInt()));
+    sl.append(QString("e$sd_turns %1").arg(schemeData(21).toInt()));
+    sl.append(QString("e$casefreq %1").arg(schemeData(22).toInt()));
+    sl.append(QString("e$minedudpct %1").arg(schemeData(25).toInt()));
+    sl.append(QString("e$explosives %1").arg(schemeData(26).toInt()));
     sl.append(QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()));
     sl.append(QString("e$mapgen %1").arg(pMapContainer->get_mapgen()));
     sl.append(QString("e$maze_size %1").arg(pMapContainer->get_maze_size()));