summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 6e01e9c15..652f1c041 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -621,7 +621,7 @@ void Map::drawAmbientLayers(Graphics *const graphics, const LayerType type,
}
// find out which layer list to draw
- AmbientLayerVector *layers;
+ AmbientLayerVector *layers = nullptr;
switch (type)
{
case FOREGROUND_LAYERS: