summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 16:25:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commitfa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed (patch)
tree66c9cee0565dd00794e29afd8f1961dbaa657461 /src/map.cpp
parent8a5c8638a11b0d2c121225b79fe8e73eee9a2bca (diff)
downloadmanaplus-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.gz
manaplus-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.bz2
manaplus-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.xz
manaplus-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.zip
add missing initialisation in map.
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 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: