diff options
Diffstat (limited to '')
-rw-r--r-- | gui/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/animation.cpp b/gui/animation.cpp index d45373d81..37f0d0872 100644 --- a/gui/animation.cpp +++ b/gui/animation.cpp @@ -88,7 +88,7 @@ GUIAnimation::GUIAnimation(xml_node<>* node) : GUIObject(node) int GUIAnimation::Render(void) { - if(!isConditionTrue()) + if (!isConditionTrue()) return 0; if (!mAnimation || !mAnimation->GetResource(mFrame)) return -1; @@ -99,7 +99,7 @@ int GUIAnimation::Render(void) int GUIAnimation::Update(void) { - if(!isConditionTrue()) + if (!isConditionTrue()) return 0; if (!mAnimation) return -1; |