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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp
index a8bf83673..85f716b28 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -85,15 +85,15 @@ void Action::setLastFrameDelay(const int delay) noexcept
}
}
-int Action::calcMemoryLocal()
+int Action::calcMemoryLocal() const
{
return sizeof(Action);
}
-int Action::calcMemoryChilds(const int level)
+int Action::calcMemoryChilds(const int level) const
{
int sz = 0;
- FOR_EACH (AnimationIter, it, mAnimations)
+ FOR_EACH (AnimationCIter, it, mAnimations)
{
sz += sizeof(SpriteDirection::Type);
Animation *const animation = (*it).second;