Probably fix missing hats.
authornemo
Wed, 08 Sep 2010 19:01:11 -0400
changeset 3844 697c855bd48d
parent 3843 50e75cb38c18
child 3845 90034acb2e43
Probably fix missing hats.
QTfrontend/team.cpp
--- a/QTfrontend/team.cpp	Wed Sep 08 18:18:01 2010 -0400
+++ b/QTfrontend/team.cpp	Wed Sep 08 19:01:11 2010 -0400
@@ -74,7 +74,7 @@
         Hedgehogs[i].Hat=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 (Hedgehogs[i].Hat.isEmpty() == 0) Hedgehogs[i].Hat = "NoHat";
+        if (Hedgehogs[i].Hat.isEmpty()) Hedgehogs[i].Hat = "NoHat";
     }
     Rounds = 0;
     Wins = 0;