--- a/QTfrontend/team.cpp Fri Jan 16 15:36:16 2009 +0000
+++ b/QTfrontend/team.cpp Fri Jan 16 15:43:19 2009 +0000
@@ -55,16 +55,17 @@
m_isNetTeam(true)
{
// net teams are configured from QStringList
- if(strLst.size() < 21) throw HWTeamConstructException();
+ if(strLst.size() != 22) throw HWTeamConstructException();
TeamName = strLst[0];
Grave = strLst[1];
Fort = strLst[2];
Voicepack = strLst[3];
- difficulty = strLst[4].toUInt();
+ Owner = strLst[4];
+ difficulty = strLst[5].toUInt();
for(int i = 0; i < 8; i++)
{
- HHName[i]=strLst[i * 2 + 5];
- HHHat[i]=strLst[i * 2 + 6];
+ HHName[i]=strLst[i * 2 + 6];
+ HHHat[i]=strLst[i * 2 + 7];
}
}