diff options
author | Filippos Karapetis | 2011-10-23 01:07:29 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:12 +0100 |
commit | 94f5b8b190590f4a28a27a5088987a05534705f9 (patch) | |
tree | ea6e1d363d927f1a2dd9bd1c69cd68b72c3c1b94 /engines/toltecs/toltecs.cpp | |
parent | 8b4c082f6d833d33f2a5299ae9a402eeb05cae04 (diff) | |
download | scummvm-rg350-94f5b8b190590f4a28a27a5088987a05534705f9.tar.gz scummvm-rg350-94f5b8b190590f4a28a27a5088987a05534705f9.tar.bz2 scummvm-rg350-94f5b8b190590f4a28a27a5088987a05534705f9.zip |
TOLTECS: Always hide the game interface when showing a movie
Diffstat (limited to 'engines/toltecs/toltecs.cpp')
-rw-r--r-- | engines/toltecs/toltecs.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 47cabe00d1..046578cffd 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -310,16 +310,6 @@ void ToltecsEngine::drawScreen() { if (_screen->_guiRefresh && _guiHeight > 0 && _cameraHeight > 0) { // Update the GUI when needed and it's visible - if (_cameraHeight + _guiHeight > 400) { - // HACK: Sanity check - happens when smoking the peace pipe in the - // Indian village, when cheating at the game of cards and when - // the ladies find out that the sergeant is drinking again. - // FIXME: why does this happen? Fix the actual cause. - warning("Scene height (%d) and GUI height (%d) exceed the screen " - "height, cutting off the screen", _cameraHeight, _guiHeight); - _cameraHeight = 400 - _guiHeight; - } - _system->copyRectToScreen((const byte *)_screen->_frontScreen + _cameraHeight * 640, 640, 0, _cameraHeight, 640, _guiHeight); _screen->_guiRefresh = false; |