Make a slightly less hackier workaround. The virtScreen height check was wrong in the first place..

svn-id: r3706
This commit is contained in:
James Brown 2002-03-09 12:17:52 +00:00
parent 03048d3919
commit 83c0ec5093

10
gfx.cpp
View file

@ -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);
}