Renamed 'ambient-color' to 'ambient' to be consistent with other values

that don't use -color.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-11-09 00:18:32 +00:00
parent 0d0e927156
commit 24a34006c6

View File

@ -813,8 +813,7 @@ void Track::loadTrackModel(World* parent, unsigned int mode_id)
else if(name=="sun")
{
node->get("xyz", &m_sun_position );
node->get("ambient-color", &m_default_ambient_color);
//node->get("sun-color", &m_sun_ambient_color);
node->get("ambient", &m_default_ambient_color);
node->get("sun-specular", &m_sun_specular_color);
node->get("sun-diffuse", &m_sun_diffuse_color);
node->get("fog", &m_use_fog);