diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 1c30bf393..32777c141 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -528,6 +528,7 @@ void Track::handleAnimatedTextures(scene::ISceneNode *node, const XMLNode &xml) void Track::update(float dt) { irr_driver->getSceneManager()->setAmbientLight(m_ambient_color); + m_light->getLightData().AmbientColor = m_ambient_color; for(unsigned int i=0; i