Added missing initialisation of ambient light, which should fix dark tracks on
non-windows system (untested yet). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -40,6 +40,7 @@ Camera::Camera(int camera_index, const Kart* kart)
|
||||
m_kart = kart;
|
||||
m_angle_up = 0.0f;
|
||||
m_angle_around = 0.0f;
|
||||
m_ambient_light = RaceManager::getTrack()->getDefaultAmbientColor();
|
||||
|
||||
// TODO: Put these values into a config file
|
||||
// Global or per split screen zone?
|
||||
|
||||
Reference in New Issue
Block a user