Fixed incorrect color of kart circles in minimap.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-03-31 21:39:22 +00:00
parent 56cbef5166
commit e6654f3c13

View File

@ -191,6 +191,8 @@ void KartProperties::getAllData(const XMLNode * root)
root->get("shadow-file", &m_shadow_file);
Vec3 c;
root->get("rgb", &c );
m_color.set(255, (int)(255*c.getX()), (int)(255*c.getY()), (int)(255*c.getZ()));
root->get("groups", &m_groups );
//m_kart_model.loadInfo(lisp);