QTfrontend/game.cpp
changeset 12510 82c75a317d48
parent 12479 42da9d8d82ab
child 12644 2473b03629c8
--- a/QTfrontend/game.cpp	Sat Sep 23 20:05:16 2017 +0200
+++ b/QTfrontend/game.cpp	Sat Sep 23 21:05:57 2017 +0200
@@ -154,7 +154,7 @@
     team1.setDifficulty(0);
     team1.setColor(0);
     team1.setNumHedgehogs(4);
-    HWNamegen::teamRandomEverything(team1, HWNamegen::rtmEverything);
+    HWNamegen::teamRandomEverything(team1);
     team1.setVoicepack("Default");
     HWProto::addStringListToBuffer(teamscfg,
                                    team1.teamGameConfig(100));
@@ -164,7 +164,7 @@
     team2.setColor(1);
     team2.setNumHedgehogs(4);
     do
-        HWNamegen::teamRandomEverything(team2, HWNamegen::rtmEverything);
+        HWNamegen::teamRandomEverything(team2);
     while(!team2.name().compare(team1.name()) || !team2.hedgehog(0).Hat.compare(team1.hedgehog(0).Hat));
     team2.setVoicepack("Default");
     HWProto::addStringListToBuffer(teamscfg,