From f655999c1581f4600e0c4abca1cc67591631126c Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 13 Jul 2009 19:11:24 +0000 Subject: Fixed bug in the NoScene logo room; the screen surface is now cleared between scene redraws (filled with the colour 0) to fix artifacts when animating the logo. svn-id: r42448 --- engines/draci/animation.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/draci/animation.cpp') diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp index c3f5a2dc95..c6528fae46 100644 --- a/engines/draci/animation.cpp +++ b/engines/draci/animation.cpp @@ -208,7 +208,11 @@ void AnimationManager::addOverlay(Drawable *overlay, uint z) { } void AnimationManager::drawScene(Surface *surf) { - + + // Fill the screen with colour zero since some rooms may rely on the screen being black + _vm->_screen->getSurface()->fill(0); + + Common::List::iterator it; for (it = _animations.begin(); it != _animations.end(); ++it) { -- cgit v1.2.3