From 83c0ec5093bf23e18e39d389dbd2175cf8aecc13 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 9 Mar 2002 12:17:52 +0000 Subject: [PATCH] Make a slightly less hackier workaround. The virtScreen height check was wrong in the first place.. svn-id: r3706 --- gfx.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx.cpp b/gfx.cpp index 254190e1161..6622586ab9e 100644 --- a/gfx.cpp +++ b/gfx.cpp @@ -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); }