Check for empty hat, somehow claymore managed this, this should be a workaround pending figuring out how he did it.
--- a/QTfrontend/team.cpp Sat Feb 20 19:54:24 2010 +0000
+++ b/QTfrontend/team.cpp Sun Feb 21 16:28:46 2010 +0000
@@ -67,6 +67,9 @@
{
HHName[i]=strLst[i * 2 + 7];
HHHat[i]=strLst[i * 2 + 8];
+// Somehow claymore managed an empty hat. Until we figure out how, this should avoid a repeat
+// Checking net teams is probably pointless, but can't hurt.
+ if (HHHat[i].length() == 0) HHHat[i] = "NoHat";
}
}
@@ -129,6 +132,8 @@
if ((i < 0) || (i > 7)) continue;
str.remove(0, 2);
HHHat[i] = str;
+// Somehow claymore managed an empty hat. Until we figure out how, this should avoid a repeat
+ if (HHHat[i].length() == 0) HHHat[i] = "NoHat";
} else
if (str.startsWith("grave "))
{