Disable fog for overhead/debug camera.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
mbjornstk 2010-05-02 00:19:22 +00:00
parent 7d23dd95f6
commit ac25665d1f

View File

@ -811,7 +811,7 @@ void Track::loadTrackModel(World* parent, unsigned int mode_id)
*/
// ---- Fog
if (m_use_fog)
if (m_use_fog && !UserConfigParams::m_camera_debug)
{
/* NOTE: if LINEAR type, density does not matter, if EXP or EXP2, start
and end do not matter */