From fb222b0afab02c11ebbdb3b58672aa9591128bf5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 17 Dec 2007 03:29:02 +0000 Subject: Changed Credits display to avoid the brief flash as the palette changed svn-id: r29892 --- engines/lure/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp index ab725dac03..e247faccb2 100644 --- a/engines/lure/game.cpp +++ b/engines/lure/game.cpp @@ -864,8 +864,9 @@ void Game::doShowCredits() { mouse.cursorOff(); Palette p(CREDITS_RESOURCE_ID - 1); Surface *s = Surface::getScreen(CREDITS_RESOURCE_ID); - screen.setPalette(&p); + screen.setPaletteEmpty(); s->copyToScreen(0, 0); + screen.setPalette(&p); delete s; events.waitForPress(); -- cgit v1.2.3