aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-03-09 12:17:52 +0000
committerJames Brown2002-03-09 12:17:52 +0000
commit83c0ec5093bf23e18e39d389dbd2175cf8aecc13 (patch)
tree3e80765835411b6b5b9b13aae7bee1d63e94fcd2
parent03048d3919aab98fbced6730e9e76a4d0aef985f (diff)
downloadscummvm-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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gfx.cpp b/gfx.cpp
index 254190e116..6622586ab9 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);
}