diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-06 19:18:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-06 19:18:09 +0300 |
commit | f3d00667c5a1bffa5a04d5e86676caca6979b58d (patch) | |
tree | 8c326bea9dfeee35670ad201f39818fc1a7765bc /src/resources/map/mapheights.cpp | |
parent | bbfe142ec3b7879bbd618f36367f95c030d65968 (diff) | |
download | ManaVerse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.gz ManaVerse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.bz2 ManaVerse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.tar.xz ManaVerse-f3d00667c5a1bffa5a04d5e86676caca6979b58d.zip |
Fix code style.
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; } |