diff options
author | Paul Gilbert | 2011-10-25 19:46:46 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-10-25 19:46:46 +1100 |
commit | 06e02a196b47377f4f9d2d2369cc89e4e4d88c1c (patch) | |
tree | dcf250150e14bcd64af818b2eac7b0a89cb4bffd /engines/tsage | |
parent | 44dcb2d1404ab9122242642b126ae7aa0cac8894 (diff) | |
download | scummvm-rg350-06e02a196b47377f4f9d2d2369cc89e4e4d88c1c.tar.gz scummvm-rg350-06e02a196b47377f4f9d2d2369cc89e4e4d88c1c.tar.bz2 scummvm-rg350-06e02a196b47377f4f9d2d2369cc89e4e4d88c1c.zip |
TSAGE: Bugfix for black areas appearing in the user interface area
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 59027e68c9..90db858378 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -2412,6 +2412,11 @@ void SceneObject::updateScreen() { srcRect.right = ((srcRect.right + 3) / 4) * 4; srcRect.clip(g_globals->_sceneManager._scene->_sceneBounds); + if (g_vm->getGameID() != GType_Ringworld) { + if (T2_GLOBALS._uiElements._visible) + srcRect.bottom = MIN<int16>(srcRect.bottom, T2_GLOBALS._interfaceY); + } + if (srcRect.isValidRect()) { Rect destRect = srcRect; destRect.translate(-sceneBounds.left, -sceneBounds.top); |