From 392b04263fd4e770d75890cd790d562cc23438dd Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Fri, 25 Dec 2009 17:43:38 +0100 Subject: Always draw the first background image - even when ambient effects are off - to avoid graphic errors. --- src/map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map.cpp b/src/map.cpp index 355b7811..e4d68756 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -440,8 +440,8 @@ void Map::updateAmbientLayers(float scrollX, float scrollY) void Map::drawAmbientLayers(Graphics *graphics, LayerType type, float scrollX, float scrollY, int detail) { - // Detail 0: no overlays - if (detail <= 0) return; + // Detail 0 = no ambient effects except background image + if (detail <= 0 && type != BACKGROUND_LAYERS) return; // find out which layer list to draw std::list *layers; -- cgit v1.2.3-70-g09d2