diff options
author | Johannes Schickel | 2008-03-08 19:28:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-08 19:28:42 +0000 |
commit | 4d65d240e46fe5a76821088c43d625a5183ccf1e (patch) | |
tree | 3d1e5a336782f35dd42c425fa24810c49af8b0fe | |
parent | 1ac3a62fc18c9fef81342d401eb433915498c3c7 (diff) | |
download | scummvm-rg350-4d65d240e46fe5a76821088c43d625a5183ccf1e.tar.gz scummvm-rg350-4d65d240e46fe5a76821088c43d625a5183ccf1e.tar.bz2 scummvm-rg350-4d65d240e46fe5a76821088c43d625a5183ccf1e.zip |
Fix for bug #1910180 "KYRA1: Screen "flash"".
svn-id: r31065
-rw-r--r-- | engines/kyra/script_v1.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index e349fec21e..ef5bc1ca72 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -1181,7 +1181,11 @@ int KyraEngine_v1::o1_bkgdScrollSceneAndMasksRight(ScriptState *script) { _screen->copyBackgroundBlock2(stackPos(0)); // update the whole screen _screen->copyRegion(7, 7, 7, 7, 305, 129, 3, 0); - _screen->updateScreen(); + // Don't do a screen update here, it see bug #1910180 "KYRA1: Screen "flash"" + // it would cause to draw the screen with a wrong palette and thus look + // strange for the user. Since this opcode should be just called on scene + // initialization anyway, there should be no problem with not updating the + // screen right now. return 0; } |