QTfrontend/game.cpp
changeset 12248 07f67ee424dc
parent 12244 45c83c88ac4b
child 12474 42da9d8d82ab
--- a/QTfrontend/game.cpp	Thu Apr 13 17:58:32 2017 +0200
+++ b/QTfrontend/game.cpp	Thu Apr 13 18:48:06 2017 +0200
@@ -154,7 +154,7 @@
     team1.setDifficulty(0);
     team1.setColor(0);
     team1.setNumHedgehogs(4);
-    HWNamegen::teamRandomEverything(team1,true);
+    HWNamegen::teamRandomEverything(team1, HWNamegen::rtmEverything);
     team1.setVoicepack("Default");
     HWProto::addStringListToBuffer(teamscfg,
                                    team1.teamGameConfig(100));
@@ -164,7 +164,7 @@
     team2.setColor(1);
     team2.setNumHedgehogs(4);
     do
-        HWNamegen::teamRandomEverything(team2,true);
+        HWNamegen::teamRandomEverything(team2, HWNamegen::rtmEverything);
     while(!team2.name().compare(team1.name()) || !team2.hedgehog(0).Hat.compare(team1.hedgehog(0).Hat));
     team2.setVoicepack("Default");
     HWProto::addStringListToBuffer(teamscfg,