QTfrontend/team.cpp
changeset 1662 cefb9d0f816f
parent 1659 fd593a5e71fb
child 1683 af34da5726aa
--- a/QTfrontend/team.cpp	Tue Jan 13 20:13:36 2009 +0000
+++ b/QTfrontend/team.cpp	Tue Jan 13 20:21:40 2009 +0000
@@ -55,15 +55,16 @@
   m_isNetTeam(true)
 {
 	// net teams are configured from QStringList
-	if(strLst.size() < 20) throw HWTeamConstructException();
+	if(strLst.size() < 21) throw HWTeamConstructException();
 	TeamName = strLst[0];
 	Grave = strLst[1];
 	Fort = strLst[2];
-	difficulty = strLst[3].toUInt();
+	Voicepack = strLst[3];
+	difficulty = strLst[4].toUInt();
 	for(int i = 0; i < 8; i++)
 	{
-		HHName[i]=strLst[i * 2 + 4];
-		HHHat[i]=strLst[i * 2 + 5];
+		HHName[i]=strLst[i * 2 + 5];
+		HHHat[i]=strLst[i * 2 + 6];
 	}
 }