QTfrontend/game.cpp
changeset 140 50ccde437ea1
parent 128 223522298250
child 141 ac3680be1f4b
--- a/QTfrontend/game.cpp	Sun Sep 03 18:01:34 2006 +0000
+++ b/QTfrontend/game.cpp	Sat Sep 09 16:59:10 2006 +0000
@@ -250,11 +250,12 @@
 				.arg(error) + bindir->absolutePath() + "/hwengine)");
 }
 
-void HWGame::AddTeam(const QString & teamname)
+void HWGame::AddTeam(const QString & teamname, unsigned char numHedgedogs)
 {
 	if (TeamCount == 5) return;
 	teams[TeamCount] = teamname;
 	TeamCount++;
+	hdNum[teamname]=numHedgedogs;
 }
 
 void HWGame::SaveDemo(const QString & filename)