From bc48b124f05f0f602d80bf26eecc1f7237c83da3 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 2 Mar 2011 00:48:21 +0100 Subject: SCI: Change workaround for hoyle3-demo's rendering order This behaviour much more closely matches SSCI. --- engines/sci/graphics/animate.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'engines/sci/graphics/animate.cpp') diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index d8dd43afb1..e02b27c788 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -352,14 +352,7 @@ void GfxAnimate::update() { it->signal &= ~(kSignalViewUpdated | kSignalNoUpdate); } else if (it->signal & kSignalStopUpdate) { it->signal &= ~kSignalStopUpdate; - if (g_sci->getGameId() == GID_HOYLE3 && g_sci->isDemo()) { - // WORKAROUND: The demo of Hoyle 3 doesn't seem to set this - // flag in this case. Not setting this fixes a large number - // of incorrect animate entries being drawn on top of dialog - // boxes (bug #3036763) - } else { - it->signal |= kSignalNoUpdate; - } + it->signal |= kSignalNoUpdate; } } -- cgit v1.2.3