diff options
author | James Brown | 2002-03-09 12:17:52 +0000 |
---|---|---|
committer | James Brown | 2002-03-09 12:17:52 +0000 |
commit | 83c0ec5093bf23e18e39d389dbd2175cf8aecc13 (patch) | |
tree | 3e80765835411b6b5b9b13aae7bee1d63e94fcd2 | |
parent | 03048d3919aab98fbced6730e9e76a4d0aef985f (diff) | |
download | scummvm-rg350-83c0ec5093bf23e18e39d389dbd2175cf8aecc13.tar.gz scummvm-rg350-83c0ec5093bf23e18e39d389dbd2175cf8aecc13.tar.bz2 scummvm-rg350-83c0ec5093bf23e18e39d389dbd2175cf8aecc13.zip |
Make a slightly less hackier workaround. The virtScreen height check was wrong in the first place..
svn-id: r3706
-rw-r--r-- | gfx.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -946,14 +946,14 @@ void Scumm::redrawBGStrip(int start, int num) { _curVirtScreen = &virtscr[0]; gfxUsageBits[s]|=0x80000000; - if (_curVirtScreen->height > _scrHeight) { - error("Screen Y size %d < Room height %d", + + if (_curVirtScreen->height < _scrHeight) { + warning("Screen Y size %d < Room height %d", _curVirtScreen->height, _scrHeight); + _curVirtScreen->height = _scrHeight; // FIXME: Indy3 Hack } - if (_currentRoom == 79 && _gameID = GID_INDY3_256) // FIXME: Indy3 workaround - _curVirtScreen->height = 136; - + gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource)+_IM00_offs, _curVirtScreen, s, 0, _curVirtScreen->height, s, num, 0); } |