diff options
Diffstat (limited to 'src/resources/map/mapheights.cpp')
-rw-r--r-- | src/resources/map/mapheights.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/mapheights.cpp b/src/resources/map/mapheights.cpp index 5d5c30aa8..b785df72c 100644 --- a/src/resources/map/mapheights.cpp +++ b/src/resources/map/mapheights.cpp @@ -42,6 +42,6 @@ void MapHeights::setHeight(const int x, const int y, const uint8_t height) int MapHeights::calcMemoryLocal() const { - return sizeof(MapHeights) + + return static_cast<int>(sizeof(MapHeights)) + mWidth * mHeight; } |