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/maplayer.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/maplayer.cpp')
-rw-r--r-- | src/resources/map/maplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp index 5d81cfb09..7ccf26396 100644 --- a/src/resources/map/maplayer.cpp +++ b/src/resources/map/maplayer.cpp @@ -749,9 +749,9 @@ void MapLayer::updateConditionTiles(MetaTile *const metaTiles, int MapLayer::calcMemoryLocal() const { - return sizeof(MapLayer) + + return static_cast<int>(sizeof(MapLayer) + sizeof(TileInfo) * mWidth * mHeight + - sizeof(MapRowVertexes) * mTempRows.capacity(); + sizeof(MapRowVertexes) * mTempRows.capacity()); } int MapLayer::calcMemoryChilds(const int level) const |