Fix bug in netclient protocol handling code
authorunc0rr
Sun, 31 Aug 2008 18:36:26 +0000
changeset 1244 87b3931c70e9
parent 1243 b98f0ece6369
child 1245 d2eca4a053f5
Fix bug in netclient protocol handling code
QTfrontend/team.cpp
--- a/QTfrontend/team.cpp	Sun Aug 31 18:12:06 2008 +0000
+++ b/QTfrontend/team.cpp	Sun Aug 31 18:36:26 2008 +0000
@@ -53,7 +53,7 @@
   numHedgehogs(4)
 {
   // net teams are configured from QStringList
-  if(strLst.size()<13) throw HWTeamConstructException();
+  if(strLst.size() < 14) throw HWTeamConstructException();
   TeamName=strLst[0];
   m_netID=strLst[1].toUInt();
   Grave=strLst[2];