From 275ec929279e8a873ce971a3632aeb474e87955e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Jan 2017 15:34:35 +0300 Subject: Add missing values into SpecialLayer initialisation. --- src/resources/map/speciallayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resources/map/speciallayer.cpp b/src/resources/map/speciallayer.cpp index f0b09b1cf..4e826dc42 100644 --- a/src/resources/map/speciallayer.cpp +++ b/src/resources/map/speciallayer.cpp @@ -41,6 +41,7 @@ SpecialLayer::SpecialLayer(const std::string &name, mHeight(height) { std::fill_n(mTiles, mWidth * mHeight, static_cast(nullptr)); + std::fill_n(mCache, mWidth * mHeight, 10000); } SpecialLayer::~SpecialLayer() -- cgit v1.2.3-60-g2f50