From 2744e4fa8f39cd06bfe557a5a3881830bd11501c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 20:43:54 +0300 Subject: Last part with FOR_EACH changes. --- src/resources/action.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources/action.cpp') 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) -- cgit v1.2.3-60-g2f50