QTfrontend/team.cpp
changeset 7133 9f250f79cb79
parent 7131 c0c787eb526e
child 7145 1d1a14b39400
--- 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();
 }