QTfrontend/team.cpp
changeset 1242 4aca5f7b2504
parent 1240 16b85f292030
child 1244 87b3931c70e9
equal deleted inserted replaced
1241:9a2def515c98 1242:4aca5f7b2504
   240 	if (!m_netID)
   240 	if (!m_netID)
   241 		for(int i = 0; i < BINDS_NUMBER; i++)
   241 		for(int i = 0; i < BINDS_NUMBER; i++)
   242 			sl.push_back(QString("ebind " + binds[i].strbind + " " + binds[i].action));
   242 			sl.push_back(QString("ebind " + binds[i].strbind + " " + binds[i].action));
   243 
   243 
   244 	for (int t = 0; t < numHedgehogs; t++)
   244 	for (int t = 0; t < numHedgehogs; t++)
       
   245 	{
   245 	  sl.push_back(QString("eaddhh %1 %2 %3")
   246 	  sl.push_back(QString("eaddhh %1 %2 %3")
   246 		       .arg(QString::number(difficulty),
   247 		       .arg(QString::number(difficulty),
   247 			    QString::number(InitHealth),
   248 			    QString::number(InitHealth),
   248 			    HHName[t]));
   249 			    HHName[t]));
       
   250 	  sl.push_back(QString("ehat %1")
       
   251 		       .arg(HHHat[t]));
       
   252 	}
   249 	return sl;
   253 	return sl;
   250 }
   254 }
   251 
   255 
   252 bool HWTeam::isNetTeam() const
   256 bool HWTeam::isNetTeam() const
   253 {
   257 {