diff options
author | Paul Gilbert | 2013-09-15 20:59:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-09-15 20:59:20 -0400 |
commit | d837605477ce7d945d4f3bc1ecbf48eb89549e7c (patch) | |
tree | 6907ba93826a521be1c37e0bdb876ade622fc862 | |
parent | 395c94401a407f77d11ff142bbe648bb7b21d5c6 (diff) | |
download | scummvm-rg350-d837605477ce7d945d4f3bc1ecbf48eb89549e7c.tar.gz scummvm-rg350-d837605477ce7d945d4f3bc1ecbf48eb89549e7c.tar.bz2 scummvm-rg350-d837605477ce7d945d4f3bc1ecbf48eb89549e7c.zip |
TSAGE: GFX fix for changing to a standard screen from a full height screen
-rw-r--r-- | engines/tsage/core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<PaletteModifier *>::iterator i = tempPalette._listeners.begin(); i != tempPalette._listeners.end(); ++i) delete *i; |