diff options
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; } |