diff options
author | Travis Howell | 2008-01-06 13:27:42 +0000 |
---|---|---|
committer | Travis Howell | 2008-01-06 13:27:42 +0000 |
commit | 743858b097107c129d7884ef523c69f5b296363e (patch) | |
tree | dd118ca716d5742a6fb9c2ee956954f9d59989c0 /engines/scumm/gfx.cpp | |
parent | e462bf55b3b3baa55fc9a60b53b408df032d49fa (diff) | |
download | scummvm-rg350-743858b097107c129d7884ef523c69f5b296363e.tar.gz scummvm-rg350-743858b097107c129d7884ef523c69f5b296363e.tar.bz2 scummvm-rg350-743858b097107c129d7884ef523c69f5b296363e.zip |
Fix regression in Let's Explore the Farm with Buzzy demo.
svn-id: r30296
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r-- | engines/scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 6c66411df7..27b24ac23c 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1175,7 +1175,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) { byte *mask = (byte *)_textSurface.getBasePtr(x * _textSurfaceMultiplier, (y - _screenTop) * _textSurfaceMultiplier); fill(mask, _textSurface.pitch, CHARSET_MASK_TRANSPARENCY, width * _textSurfaceMultiplier, height * _textSurfaceMultiplier); } - } else if (_game.heversion >= 71) { + } else if (_game.heversion >= 72) { // Flags are used for different methods in HE games uint32 flags = color; if ((flags & 0x2000) || (flags & 0x4000000)) { @@ -1189,7 +1189,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) { } else { fill(backbuff, vs->pitch, flags, width, height); } - } else if (_game.version >= 60) { + } else if (_game.heversion >= 60) { // Flags are used for different methods in HE games uint16 flags = color; if (flags & 0x2000) { |