fixed fading of currentelement

This commit is contained in:
louis 2016-02-13 07:08:26 +01:00
parent 777c1addda
commit 2e42673f04

View File

@ -209,7 +209,8 @@ void cAnimation::Detach(void) {
if (!Running()) return; if (!Running()) return;
detachable->RenderDetached(); detachable->RenderDetached();
if (!Running()) return; if (!Running()) return;
detachable->Flush(); if (!doAnimation)
detachable->Flush();
if (!Running()) return; if (!Running()) return;
if (doAnimation) { if (doAnimation) {
detachable->StartAnimation(); detachable->StartAnimation();