summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r--src/resources/action.cpp2
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;