diff options
Diffstat (limited to 'src/resources/map/speciallayer.cpp')
-rw-r--r-- | src/resources/map/speciallayer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<MapItem*>(nullptr)); + std::fill_n(mCache, mWidth * mHeight, 10000); } SpecialLayer::~SpecialLayer() |