From 4d65d240e46fe5a76821088c43d625a5183ccf1e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 8 Mar 2008 19:28:42 +0000 Subject: Fix for bug #1910180 "KYRA1: Screen "flash"". svn-id: r31065 --- engines/kyra/script_v1.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/kyra') 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; } -- cgit v1.2.3