QTfrontend/team.cpp
changeset 3812 ce18fd3ff02d
parent 3767 2416a3f51c77
child 3844 697c855bd48d
--- a/QTfrontend/team.cpp	Thu Sep 02 19:21:41 2010 +0200
+++ b/QTfrontend/team.cpp	Thu Sep 02 21:49:36 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.length() == 0) Hedgehogs[i].Hat = "NoHat";
+        if (Hedgehogs[i].Hat.isEmpty() == 0) Hedgehogs[i].Hat = "NoHat";
     }
     Rounds = 0;
     Wins = 0;