diff options
Diffstat (limited to 'src/resources/sprite/spritedef.cpp')
-rw-r--r-- | src/resources/sprite/spritedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sprite/spritedef.cpp b/src/resources/sprite/spritedef.cpp index d0985860c..0662ef7bf 100644 --- a/src/resources/sprite/spritedef.cpp +++ b/src/resources/sprite/spritedef.cpp @@ -624,7 +624,7 @@ int SpriteDef::calcMemoryChilds(const int level) const FOR_EACHP (ActionMap::const_iterator, it2, actionMap) { sz += static_cast<int>((*it2).first.capacity()); - Action *const action = (*it2).second; + const Action *const action = (*it2).second; sz += action->calcMemory(level + 1); } } |