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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp
index 752446e5e..362fa0370 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -72,8 +72,7 @@ void Action::setAnimation(const int direction, Animation *const animation)
void Action::setLastFrameDelay(const int delay)
{
- for (AnimationIter it = mAnimations.begin(),
- it_end = mAnimations.end(); it != it_end; ++ it)
+ FOR_EACH (AnimationIter, it, mAnimations)
{
Animation *const animation = (*it).second;
if (!animation)