summaryrefslogtreecommitdiff
path: root/coreengine
diff options
context:
space:
mode:
Diffstat (limited to 'coreengine')
-rw-r--r--coreengine/animation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreengine/animation.c b/coreengine/animation.c
index a5f6caf..aea51a6 100644
--- a/coreengine/animation.c
+++ b/coreengine/animation.c
@@ -209,7 +209,8 @@ void cAnimation::Detach(void) {
if (!Running()) return;
detachable->RenderDetached();
if (!Running()) return;
- detachable->Flush();
+ if (!doAnimation)
+ detachable->Flush();
if (!Running()) return;
if (doAnimation) {
detachable->StartAnimation();