fixed fading of currentelement

This commit is contained in:
louis 2016-02-13 07:08:26 +01:00
parent 777c1addda
commit 2e42673f04
1 changed files with 2 additions and 1 deletions

View File

@ -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();