From 7ca277d2525da7a28b8fe6949970ccbbfd28b1f4 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sat, 29 Sep 2007 19:14:38 +0000 Subject: 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 --- engines/touche/saveload.cpp | 2 +- engines/touche/touche.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/touche') 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)); -- cgit v1.2.3