Add ambient light in graphics options

This commit is contained in:
Eduardo Bart
2012-11-30 14:47:53 -02:00
parent 5fed08b17e
commit ce6423320e
4 changed files with 34 additions and 1 deletions

View File

@@ -658,6 +658,8 @@ void MapView::setDrawMinimapColors(bool enable)
void MapView::setDrawLights(bool enable)
{
if(enable == m_drawLights)
return;
if(enable)
m_lightView = LightViewPtr(new LightView);
else