diff -r d1e75dcd285f -r 7535ab6c3820 QTfrontend/team.cpp --- a/QTfrontend/team.cpp Sun Jan 14 23:13:24 2007 +0000 +++ b/QTfrontend/team.cpp Mon Jan 15 18:45:07 2007 +0000 @@ -30,7 +30,8 @@ #include HWTeam::HWTeam(const QString & teamname) : - difficulty(0) + difficulty(0), + netTeam(false) { TeamName = teamname; OldTeamName = TeamName; @@ -44,15 +45,18 @@ } } -HWTeam::HWTeam(const QStringList& strLst) +HWTeam::HWTeam(const QStringList& strLst) : + netTeam(true) { + // net teams are configured from QStringList if(strLst.size()<9) throw HWTeamConstructException(); TeamName=strLst[0]; for(int i = 0; i < 8; i++) HHName[i]=strLst[i+1]; } HWTeam::HWTeam(quint8 num) : - difficulty(0) + difficulty(0), + netTeam(false) { num %= PREDEFTEAMS_COUNT; TeamName = QApplication::translate("teams", pteams[num].TeamName);