diff options
author | Gregory Montoir | 2007-09-29 19:14:38 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-09-29 19:14:38 +0000 |
commit | 7ca277d2525da7a28b8fe6949970ccbbfd28b1f4 (patch) | |
tree | e940f6e824556ad54a718117b069ed8f07564dac /engines/touche | |
parent | bdffcca128d8114fe50c0726b72dd149d9b0a815 (diff) | |
download | scummvm-rg350-7ca277d2525da7a28b8fe6949970ccbbfd28b1f4.tar.gz scummvm-rg350-7ca277d2525da7a28b8fe6949970ccbbfd28b1f4.tar.bz2 scummvm-rg350-7ca277d2525da7a28b8fe6949970ccbbfd28b1f4.zip |
don't update the screen directly after a gamestate load ; keychars and room background are now redrawn on the same frame (bug #1751226)
svn-id: r29133
Diffstat (limited to 'engines/touche')
-rw-r--r-- | engines/touche/saveload.cpp | 2 | ||||
-rw-r--r-- | engines/touche/touche.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/touche/saveload.cpp b/engines/touche/saveload.cpp index 46e3194644..90eb3665fd 100644 --- a/engines/touche/saveload.cpp +++ b/engines/touche/saveload.cpp @@ -328,7 +328,7 @@ void ToucheEngine::loadGameStateData(Common::ReadStream *stream) { _backdropBuffer, _currentBitmapWidth, _flagsTable[614], _flagsTable[615], kScreenWidth, kRoomHeight); updateRoomRegions(); - updateEntireScreen(); + _fullRedrawCounter = 1; _roomNeedRedraw = false; if (_flagsTable[617] != 0) { res_loadSpeech(_flagsTable[617]); diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp index 8f1b065670..7e1a839fe9 100644 --- a/engines/touche/touche.cpp +++ b/engines/touche/touche.cpp @@ -55,7 +55,6 @@ ToucheEngine::ToucheEngine(OSystem *system) _processRandomPaletteCounter = 0; - _roomNeedRedraw = false; _fastWalkMode = false; _fastMode = false; @@ -63,7 +62,7 @@ ToucheEngine::ToucheEngine(OSystem *system) _objectDescriptionNum = 0; _speechPlaying = false; - _roomNeedRedraw = false; + _roomNeedRedraw = false; _fullRedrawCounter = 0; _menuRedrawCounter = 0; memset(_paletteBuffer, 0, sizeof(_paletteBuffer)); |