aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/animation.cpp
diff options
context:
space:
mode:
authorDenis Kasak2009-07-13 19:11:24 +0000
committerDenis Kasak2009-07-13 19:11:24 +0000
commitf655999c1581f4600e0c4abca1cc67591631126c (patch)
tree88b08ea082c0975eb0ab2f6c452f594a7843076d /engines/draci/animation.cpp
parent224d8c087acac4e3f21913b6268f82c1ab9faca8 (diff)
downloadscummvm-rg350-f655999c1581f4600e0c4abca1cc67591631126c.tar.gz
scummvm-rg350-f655999c1581f4600e0c4abca1cc67591631126c.tar.bz2
scummvm-rg350-f655999c1581f4600e0c4abca1cc67591631126c.zip
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
Diffstat (limited to 'engines/draci/animation.cpp')
-rw-r--r--engines/draci/animation.cpp6
1 files changed, 5 insertions, 1 deletions
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<Animation *>::iterator it;
for (it = _animations.begin(); it != _animations.end(); ++it) {