QTfrontend/util/namegen.cpp
changeset 13931 6c8d4e140f27
parent 12630 11f5fe0407e5
child 14955 0ec0ed2d9045
--- a/QTfrontend/util/namegen.cpp	Sun Oct 14 21:25:59 2018 +0300
+++ b/QTfrontend/util/namegen.cpp	Sun Oct 14 21:57:30 2018 +0300
@@ -155,7 +155,7 @@
     for(int i = 0; i < HEDGEHOGS_PER_TEAM; i++)
     {
         HWHog hh = team.hedgehog(i);
-        if (sameHogs and i > 0)
+        if (sameHogs && i > 0)
             hh.Hat = team.hedgehog(i-1).Hat;
         else
             hh.Hat = getRandomHat(withDLC);