aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-25 01:12:14 +0100
committerEugene Sandulenko2019-12-25 01:12:14 +0100
commit160cbe30c7b8a119478d7f6f6c3426850e5e278e (patch)
tree3d918d5242618088ab4b10cae3589211be2a497d /engines/director
parentb5f7f6d35eba3d82cab24e06f084e6373a09a56e (diff)
downloadscummvm-rg350-160cbe30c7b8a119478d7f6f6c3426850e5e278e.tar.gz
scummvm-rg350-160cbe30c7b8a119478d7f6f6c3426850e5e278e.tar.bz2
scummvm-rg350-160cbe30c7b8a119478d7f6f6c3426850e5e278e.zip
DIRECTOR: Bg color is also shifted for shapes
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 238b2a53a0..cf8c651c69 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -258,7 +258,7 @@ ShapeCast::ShapeCast(Common::ReadStreamEndian &stream, uint16 version) {
_initialRect = Score::readRect(stream);
_pattern = stream.readUint16BE();
_fgCol = (stream.readByte() + 128) & 0xff; // -128 -> 0, 127 -> 256
- _bgCol = stream.readByte();
+ _bgCol = (stream.readByte() + 128) & 0xff;
_fillType = stream.readByte();
_lineThickness = stream.readByte();
_lineDirection = stream.readByte();