QTfrontend/ui/page/pageeditteam.cpp
changeset 12510 82c75a317d48
parent 12507 f4b0e164a0d5
child 12674 bc34fc75670e
--- a/QTfrontend/ui/page/pageeditteam.cpp	Sat Sep 23 20:05:16 2017 +0200
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Sat Sep 23 21:05:57 2017 +0200
@@ -474,14 +474,14 @@
 void PageEditTeam::setRandomTeam()
 {
     HWTeam team = data();
-    HWNamegen::teamRandomEverything(team, HWNamegen::rtmEverything);
+    HWNamegen::teamRandomEverything(team);
     loadTeam(team);
 }
 
 void PageEditTeam::setRandomHogNames()
 {
     HWTeam team = data();
-    HWNamegen::teamRandomEverything(team, HWNamegen::rtmHogNames);
+    HWNamegen::teamRandomHogNames(team);
     loadTeam(team);
 }