QTfrontend/hwform.cpp
changeset 12296 62975c0a89c6
parent 12244 45c83c88ac4b
child 12305 d3a52e51efd4
--- a/QTfrontend/hwform.cpp	Fri Apr 21 17:42:09 2017 +0200
+++ b/QTfrontend/hwform.cpp	Fri Apr 21 17:54:28 2017 +0200
@@ -473,9 +473,11 @@
         }
 
         HWTeam defaultTeam(teamName);
-        // Randomize fort and grave for greater variety by default
-        HWNamegen::teamRandomGrave(defaultTeam);
-        HWNamegen::teamRandomFort(defaultTeam);
+        // Randomize fort and grave for greater variety by default.
+        // But we exclude DLC graves and forts to not have desyncing teams by default
+        // TODO: Remove DLC filtering when it isn't neccessary anymore
+        HWNamegen::teamRandomGrave(defaultTeam, false);
+        HWNamegen::teamRandomFort(defaultTeam, false);
         defaultTeam.saveToFile();
         teamslist.push_back(teamName);
 
@@ -484,8 +486,8 @@
         {
             teamName = tr("Team %1").arg(i);
             HWTeam numberTeam(teamName);
-            HWNamegen::teamRandomGrave(numberTeam);
-            HWNamegen::teamRandomFort(numberTeam);
+            HWNamegen::teamRandomGrave(numberTeam, false);
+            HWNamegen::teamRandomFort(numberTeam, false);
             numberTeam.saveToFile();
             teamslist.push_back(teamName);
         }