diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 21:03:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 21:03:25 +0300 |
commit | 10b7c4a1313395291a77c50189b31e9daf38a2b0 (patch) | |
tree | 8f0eea8bc2567b0431bb03d45126786cddddcf60 /src/resources/map/map.cpp | |
parent | 5f6e0176cc64824a28391070ddb249a6efff0b7c (diff) | |
download | manaverse-10b7c4a1313395291a77c50189b31e9daf38a2b0.tar.gz manaverse-10b7c4a1313395291a77c50189b31e9daf38a2b0.tar.bz2 manaverse-10b7c4a1313395291a77c50189b31e9daf38a2b0.tar.xz manaverse-10b7c4a1313395291a77c50189b31e9daf38a2b0.zip |
Add memory counting into ObjectsLayer.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r-- | src/resources/map/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index 01f646877..7045706e1 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -1743,7 +1743,8 @@ int Map::calcMemoryChilds(const int level) const mSpecialLayer->calcMemory(level + 1); if (mTempLayer) mTempLayer->calcMemory(level + 1); - // +++ need calc mObjects + if (mObjects) + mObjects->calcMemory(level + 1); // +++ need calc mHeights return sz; } |