aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kasak2009-07-12 19:00:24 +0000
committerDenis Kasak2009-07-12 19:00:24 +0000
commitd369a257d1e9eb01b6104653ba2e0fcd6efb5980 (patch)
treef73d7a47d153389aaba3054223dbe2c08c4ed91f
parenta41d36de0f2db1ef6572d0a19a1015dd9500e129 (diff)
downloadscummvm-rg350-d369a257d1e9eb01b6104653ba2e0fcd6efb5980.tar.gz
scummvm-rg350-d369a257d1e9eb01b6104653ba2e0fcd6efb5980.tar.bz2
scummvm-rg350-d369a257d1e9eb01b6104653ba2e0fcd6efb5980.zip
Enabled clearing the screen when the room changes since some rooms do not draw anything on some parts of the screen.
svn-id: r42425
-rw-r--r--engines/draci/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index ac26fb5871..3832768f23 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -320,6 +320,8 @@ void Game::changeRoom(uint roomNum) {
_vm->_spritesArchive->clearCache();
_vm->_paletteArchive->clearCache();
+ _vm->_screen->clearScreen();
+
_vm->_anims->deleteOverlays();
int oldRoomNum = _currentRoom._roomNum;