From 760e8d4e6e215a760145608ed051341b65929004 Mon Sep 17 00:00:00 2001 From: eriktorbjorn Date: Mon, 16 May 2011 07:07:17 +0200 Subject: TSAGE: Fix bad palette in the Fleeing planet cutscene It was using out-of-bounds data to manipulate the palette, and a missing break caused it to change palette again immediately. Still, even after this change I had the impression that the temporary palette was visible for a bit longer in DOSBox. Could be my imagination, though. --- engines/tsage/ringworld_scenes2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/tsage/ringworld_scenes2.cpp b/engines/tsage/ringworld_scenes2.cpp index 906f648b9e..4378eac724 100644 --- a/engines/tsage/ringworld_scenes2.cpp +++ b/engines/tsage/ringworld_scenes2.cpp @@ -477,13 +477,14 @@ void Scene1001::Action1::signal() { case 19: { _globals->_soundHandler.startSound(91); byte adjustData[4] = {0xff, 0xff, 0xff, 0}; - _globals->_scenePalette.fade(adjustData, true, 0); + _globals->_scenePalette.fade(adjustData, false, 0); scene->_object1._strip = 7; scene->_object1._frame = 1; scene->_object1.setPosition(Common::Point(314, 112)); scene->_object1.addMover(NULL); setDelay(2); + break; } case 20: _globals->_scenePalette.loadPalette(16); -- cgit v1.2.3