diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-06 19:20:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-06 19:20:37 +0300 |
commit | 1f9f3f097b7acecda205fbc5a3f4846b84c00ab5 (patch) | |
tree | 4d65739b9a6b72fdd8cf1141aa7c9946cb2fe3b8 /src/resources/action.cpp | |
parent | f3d00667c5a1bffa5a04d5e86676caca6979b58d (diff) | |
download | mv-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.gz mv-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.bz2 mv-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.tar.xz mv-1f9f3f097b7acecda205fbc5a3f4846b84c00ab5.zip |
Add missing const.
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r-- | src/resources/action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp index a44cc1aee..ff7a48997 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -97,7 +97,7 @@ int Action::calcMemoryChilds(const int level) const FOR_EACH (AnimationCIter, it, mAnimations) { sz += sizeof(SpriteDirection::Type); - Animation *const animation = (*it).second; + const Animation *const animation = (*it).second; sz += animation->calcMemory(level + 1); } return sz; |