diff -r e54a68b9b844 -r 617a861b7750 QTfrontend/util/namegen.cpp --- a/QTfrontend/util/namegen.cpp Mon Mar 26 03:36:11 2012 +0200 +++ b/QTfrontend/util/namegen.cpp Mon Mar 26 03:57:14 2012 +0200 @@ -79,7 +79,7 @@ // there is a chance that this hog has the same hat as the previous one // let's reuse the hat-specific dict in this case - if ((i == 0) or (team.hedgehog(i).Hat != team.hedgehog(i-1).Hat)) + if ((i == 0) || (team.hedgehog(i).Hat != team.hedgehog(i-1).Hat)) { dicts = dictsForHat(team.hedgehog(i).Hat); dict = dictContents(dicts[rand()%(dicts.size())]);