aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorScott Percival2020-01-05 11:52:46 +0800
committerScott Percival2020-01-05 11:52:46 +0800
commit4b3a5257f5f5e848bc46c479b0b98e78b0f5cc18 (patch)
treeb1fc3326d62d614f06e0a482059f014db983277b /engines/director
parent2910e20a9209d544acf1c6e26c368d501de53cab (diff)
downloadscummvm-rg350-4b3a5257f5f5e848bc46c479b0b98e78b0f5cc18.tar.gz
scummvm-rg350-4b3a5257f5f5e848bc46c479b0b98e78b0f5cc18.tar.bz2
scummvm-rg350-4b3a5257f5f5e848bc46c479b0b98e78b0f5cc18.zip
DIRECTOR: Extend sprite line size to 3-bit
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 66cb7fd21f..f50d31e1ba 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -213,7 +213,7 @@ void Frame::readChannels(Common::ReadStreamEndian *stream) {
else
sprite._trails = 0;
- sprite._lineSize = ((sprite._flags >> 8) & 0x03) + 1;
+ sprite._lineSize = ((sprite._flags >> 8) & 0x07);
sprite._castId = stream->readUint16();
sprite._startPoint.y = stream->readUint16();