--- a/QTfrontend/team.cpp Mon May 28 00:43:36 2012 +0400 +++ b/QTfrontend/team.cpp Mon May 28 00:44:51 2012 +0400 @@ -352,7 +352,7 @@ void HWTeam::setColor(int color) { - m_color = color; + m_color = color % colorsModel->rowCount(); }