From 160cbe30c7b8a119478d7f6f6c3426850e5e278e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Dec 2019 01:12:14 +0100 Subject: DIRECTOR: Bg color is also shifted for shapes --- engines/director/cast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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(); -- cgit v1.2.3