From d837605477ce7d945d4f3bc1ecbf48eb89549e7c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 15 Sep 2013 20:59:20 -0400 Subject: TSAGE: GFX fix for changing to a standard screen from a full height screen --- engines/tsage/core.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/tsage') diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 065d4eba65..fbbf982c28 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1516,6 +1516,10 @@ void ScenePalette::changeBackground(const Rect &bounds, FadeMode fadeMode) { g_globals->_screenSurface.copyFrom(g_globals->_sceneManager._scene->_backSurface, tempRect, Rect(0, 0, tempRect.width(), tempRect.height()), NULL); + if (g_vm->getGameID() == GType_Ringworld2 && !GLOBALS._player._uiEnabled + && T2_GLOBALS._interfaceY == UI_INTERFACE_Y) { + g_globals->_screenSurface.fillRect(Rect(0, UI_INTERFACE_Y, SCREEN_WIDTH, SCREEN_HEIGHT), 0); + } for (SynchronizedList::iterator i = tempPalette._listeners.begin(); i != tempPalette._listeners.end(); ++i) delete *i; -- cgit v1.2.3