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 feb991684..c059624c5 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -80,7 +80,7 @@ void Action::setLastFrameDelay(const int delay) noexcept2
FOR_EACH (AnimationIter, it, mAnimations)
{
Animation *const animation = (*it).second;
- if (!animation)
+ if (animation == nullptr)
continue;
animation->setLastFrameDelay(delay);
}