QTfrontend/team.cpp
changeset 546 0e7cc3fb05cd
parent 486 7ea71cd3acd5
child 605 2651c3fe4567
equal deleted inserted replaced
545:f527450337c1 546:0e7cc3fb05cd
   210 }
   210 }
   211 
   211 
   212 QStringList HWTeam::TeamGameConfig(quint32 InitHealth) const
   212 QStringList HWTeam::TeamGameConfig(quint32 InitHealth) const
   213 {
   213 {
   214 	QStringList sl;
   214 	QStringList sl;
   215 	sl.push_back("eaddteam");
   215 	sl.push_back(QString("eaddteam %1").arg(teamColor.rgb() & 0xffffff));
   216 	if (m_netID)
   216 	if (m_netID)
   217 		sl.push_back("erdriven");
   217 		sl.push_back("erdriven");
   218 	sl.push_back(QString("ecolor %1").arg(teamColor.rgb() & 0xffffff));
       
   219 	sl.push_back("ename team " + TeamName);
   218 	sl.push_back("ename team " + TeamName);
   220 
   219 
   221 	for (int i = 0; i < numHedgehogs; i++)
   220 	for (int i = 0; i < numHedgehogs; i++)
   222 		sl.push_back(QString("ename hh%1 ").arg(i).append(HHName[i]));
   221 		sl.push_back(QString("ename hh%1 ").arg(i).append(HHName[i]));
   223 
   222