diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:25:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed (patch) | |
tree | 66c9cee0565dd00794e29afd8f1961dbaa657461 /src | |
parent | 8a5c8638a11b0d2c121225b79fe8e73eee9a2bca (diff) | |
download | mv-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.gz mv-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.bz2 mv-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.tar.xz mv-fa4ba9c01aadd6cc217c5e9eef5d2f8332f84fed.zip |
add missing initialisation in map.
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 2 |
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: |