mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Add ambient light in graphics options
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user