diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-29 14:55:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-29 14:55:40 +0300 |
commit | 4c6264db7ad4f0ae8a6c001903b47741abb94d8c (patch) | |
tree | a4e95239130dc4b86d036acd10c95f5fe3b96999 /src/resources/map | |
parent | f6e76f469a81ff2d9e3714d39d1a8f4012cda2b8 (diff) | |
download | mv-4c6264db7ad4f0ae8a6c001903b47741abb94d8c.tar.gz mv-4c6264db7ad4f0ae8a6c001903b47741abb94d8c.tar.bz2 mv-4c6264db7ad4f0ae8a6c001903b47741abb94d8c.tar.xz mv-4c6264db7ad4f0ae8a6c001903b47741abb94d8c.zip |
Fix code style.
Diffstat (limited to 'src/resources/map')
-rw-r--r-- | src/resources/map/objectslayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/objectslayer.cpp b/src/resources/map/objectslayer.cpp index b121fbcf9..87fe11a94 100644 --- a/src/resources/map/objectslayer.cpp +++ b/src/resources/map/objectslayer.cpp @@ -79,6 +79,6 @@ MapObjectList *ObjectsLayer::getAt(const unsigned x, const unsigned y) const int ObjectsLayer::calcMemoryLocal() const { - return sizeof(ObjectsLayer) + - (sizeof(MapObjectList) + sizeof(MapObjectList*)) * mWidth * mHeight; + return CAST_S32(sizeof(ObjectsLayer) + + (sizeof(MapObjectList) + sizeof(MapObjectList*)) * mWidth * mHeight); } |