diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-06 15:34:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-06 15:34:35 +0300 |
commit | 275ec929279e8a873ce971a3632aeb474e87955e (patch) | |
tree | ca605cf3417f0bedbf18172a2827e842ba3175e1 | |
parent | f81c4d4c9feeddbf21686eef21b328b1f05ce503 (diff) | |
download | manaplus-275ec929279e8a873ce971a3632aeb474e87955e.tar.gz manaplus-275ec929279e8a873ce971a3632aeb474e87955e.tar.bz2 manaplus-275ec929279e8a873ce971a3632aeb474e87955e.tar.xz manaplus-275ec929279e8a873ce971a3632aeb474e87955e.zip |
Add missing values into SpecialLayer initialisation.
-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() |