summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 2de0a4a8..f845f2ff 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -331,7 +331,7 @@ void Map::draw(Graphics *graphics, int scrollX, int scrollY)
}
// If the transparency hasn't been disabled,
- if (config.getValue("opengl", false) || !config.getValue("lowcpu", true))
+ if (Image::useOpenGL() || !Image::SDLisTransparencyDisabled())
{
// We draw beings with a lower opacity to make them visible
// even when covered by a wall or some other elements...