QTfrontend/game.cpp
changeset 6217 ef53ba841791
parent 6211 ee9465c0ea82
child 6616 f77bb02b669f
--- a/QTfrontend/game.cpp	Thu Oct 27 02:47:05 2011 +0200
+++ b/QTfrontend/game.cpp	Thu Oct 27 21:33:18 2011 +0400
@@ -41,7 +41,6 @@
 {
     this->config = config;
     this->gamecfg = gamecfg;
-    TeamCount = 0;
     netSuspend = false;
 }
 
@@ -316,13 +315,6 @@
     return arguments;
 }
 
-void HWGame::AddTeam(const QString & teamname)
-{
-    if (TeamCount == 5) return;
-    teams[TeamCount] = teamname;
-    TeamCount++;
-}
-
 void HWGame::PlayDemo(const QString & demofilename, bool isSave)
 {
     gameType = isSave ? gtSave : gtDemo;