diff -r a44e4c057f57 -r 6c8d4e140f27 QTfrontend/util/namegen.cpp --- 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);