aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorFlorian Kagerer2010-10-03 14:32:09 +0000
committerFlorian Kagerer2010-10-03 14:32:09 +0000
commit6ca15d0888922e95fe9fdd52c09586e35250d4fd (patch)
treef46a81e1dd309a6c4887c84f128535be7872f9a7 /engines/scumm
parent73310fe2376415d7e7807594f59a1d5e027a08f2 (diff)
downloadscummvm-rg350-6ca15d0888922e95fe9fdd52c09586e35250d4fd.tar.gz
scummvm-rg350-6ca15d0888922e95fe9fdd52c09586e35250d4fd.tar.bz2
scummvm-rg350-6ca15d0888922e95fe9fdd52c09586e35250d4fd.zip
SCUMM/FM-TOWNS: fix drawBox()
svn-id: r52991
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 5a2be3f7d8..a3977a9fee 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1311,7 +1311,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) {
byte *mask = (byte *)_textSurface.getBasePtr(x * _textSurfaceMultiplier, (y - _screenTop + vs->topline) * _textSurfaceMultiplier);
fill(mask, _textSurface.pitch, color, width * _textSurfaceMultiplier, height * _textSurfaceMultiplier, _textSurface.bytesPerPixel);
- if (_game.id == GID_MONKEY2 || _game.id == GID_INDY4)
+ if (_game.id == GID_MONKEY2 || _game.id == GID_INDY4 || ((_game.id == GID_INDY3 || _game.id == GID_ZAK) && vs->number != kTextVirtScreen) || (_game.id == GID_LOOM && vs->number == kMainVirtScreen))
return;
}