QTfrontend/hwform.cpp
changeset 12242 09010333c947
parent 12241 0b5aa545e058
child 12244 45c83c88ac4b
--- a/QTfrontend/hwform.cpp	Thu Apr 13 05:44:23 2017 +0200
+++ b/QTfrontend/hwform.cpp	Thu Apr 13 06:25:41 2017 +0200
@@ -473,14 +473,19 @@
         }
 
         HWTeam defaultTeam(teamName);
+        // Randomize fort and grave for greater variety by default
+        defaultTeam.setGrave(HWNamegen::getRandomGrave());
+        defaultTeam.setFort(HWNamegen::getRandomFort());
         defaultTeam.saveToFile();
         teamslist.push_back(teamName);
 
-        // Team 2, Team 3, Team 4
+        // Add 3 additional teams to allow local multiplayer instantly
         for(int i=2; i<=4; i++)
         {
             teamName = tr("Team %1").arg(i);
             HWTeam numberTeam(teamName);
+            numberTeam.setGrave(HWNamegen::getRandomGrave());
+            numberTeam.setFort(HWNamegen::getRandomFort());
             numberTeam.saveToFile();
             teamslist.push_back(teamName);
         }