mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Fix regression in Let's Explore the Farm with Buzzy demo.
svn-id: r30296
This commit is contained in:
parent
e462bf55b3
commit
743858b097
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user