- Not only that, nemo, not only that (.cpp)
authorunc0rr
Mon, 10 Nov 2014 01:05:36 +0300
changeset 10482 b49b82351ad3
parent 10481 caf7a8f20b0b
child 10483 1f58cb4aa773
- Not only that, nemo, not only that (.cpp) - Also less confusion (.hs)
QTfrontend/ui/widget/gamecfgwidget.cpp
gameServer/CoreTypes.hs
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Sun Nov 09 17:01:05 2014 -0500
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Mon Nov 10 01:05:36 2014 +0300
@@ -481,15 +481,15 @@
     {
         if (param == "FULLMAPCONFIG")
         {
-            QString seed = slValue[3];
+            QString seed = slValue[4];
 
             pMapContainer->setAllMapParameters(
-                slValue[0],
-                (MapGenerator)slValue[1].toUInt(),
-                slValue[2].toUInt(),
+                slValue[1],
+                (MapGenerator)slValue[2].toUInt(),
+                slValue[3].toUInt(),
                 seed,
-                slValue[4].toUInt(),
-                slValue[5].toUInt()
+                slValue[5].toUInt(),
+                slValue[0].toUInt()
             );
             return;
         }
--- a/gameServer/CoreTypes.hs	Sun Nov 09 17:01:05 2014 -0500
+++ b/gameServer/CoreTypes.hs	Mon Nov 10 01:05:36 2014 +0300
@@ -250,8 +250,8 @@
         []
         (
             Map.fromList $ Prelude.zip
-                ["MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE", "FEATURE_SIZE"]
-                ["+rnd+", "0", "0", "seed", "0", "12"]
+                ["FEATURE_SIZE", "MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE"]
+                ["12", "+rnd+", "0", "0", "seed", "0"]
         )
         (
             Map.fromList $ Prelude.zip