From adba314fc679be40f6341764ca9f45d0a027b865 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 13 Dec 2009 15:19:56 +0000 Subject: LOL: some cleanup for recent code changes svn-id: r46358 --- engines/kyra/animator_tim.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/animator_tim.cpp') diff --git a/engines/kyra/animator_tim.cpp b/engines/kyra/animator_tim.cpp index bab24727ce..d9ca83d665 100644 --- a/engines/kyra/animator_tim.cpp +++ b/engines/kyra/animator_tim.cpp @@ -97,13 +97,13 @@ void TimAnimator::reset(int animIndex, bool clearStruct) { } } -void TimAnimator::displayFrame(int animIndex, int page, int frame) { +void TimAnimator::displayFrame(int animIndex, int page, int frame, int flags) { TimAnimator::Animation *anim = &_animations[animIndex]; if ((anim->wsaCopyParams & 0x4000) != 0) page = 2; // WORKAROUND for some bugged scripts that will try to display frames of non-existent animations if (anim->wsa) - anim->wsa->displayFrame(frame, page, anim->x, anim->y, anim->wsaCopyParams & 0xF0FF, 0, 0); + anim->wsa->displayFrame(frame, page, anim->x, anim->y, (flags == -1) ? (anim->wsaCopyParams & 0xF0FF) : flags, 0, 0); if (!page) _screen->updateScreen(); } -- cgit v1.2.3