QTfrontend/newnetclient.cpp
changeset 2747 7889a3a9724f
parent 2706 935b7d618cf0
child 2776 9572aae13d49
equal deleted inserted replaced
2746:55593f8a490b 2747:7889a3a9724f
   109 	     team.TeamName + delimeter +
   109 	     team.TeamName + delimeter +
   110 	     team.teamColor.name() + delimeter +
   110 	     team.teamColor.name() + delimeter +
   111 	     team.Grave + delimeter +
   111 	     team.Grave + delimeter +
   112 	     team.Fort + delimeter +
   112 	     team.Fort + delimeter +
   113 	     team.Voicepack + delimeter +
   113 	     team.Voicepack + delimeter +
       
   114 		 team.Flag + delimeter +
   114 	     QString::number(team.difficulty);
   115 	     QString::number(team.difficulty);
   115 
   116 
   116 	for(int i = 0; i < 8; ++i)
   117 	for(int i = 0; i < 8; ++i)
   117 	{
   118 	{
   118 		cmd.append(delimeter);
   119 		cmd.append(delimeter);
   320 		}
   321 		}
   321 		return;
   322 		return;
   322 	}
   323 	}
   323 
   324 
   324 	if (lst[0] == "ADD_TEAM") {
   325 	if (lst[0] == "ADD_TEAM") {
   325 		if(lst.size() != 23)
   326 		if(lst.size() != 24)
   326 		{
   327 		{
   327 			qWarning("Net: Bad ADDTEAM message");
   328 			qWarning("Net: Bad ADDTEAM message");
   328 			return;
   329 			return;
   329 		}
   330 		}
   330 		QStringList tmp = lst;
   331 		QStringList tmp = lst;