diff options
author | Eugene Sandulenko | 2019-12-24 12:20:01 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-24 14:08:16 +0100 |
commit | a326ee192d73420a960c023333dc6676a71e17c4 (patch) | |
tree | 67ce41018470de2af6238aded5132439329687f0 /engines | |
parent | 1f5b4bdf740e830b421205004f6ab69cabe9a8eb (diff) | |
download | scummvm-rg350-a326ee192d73420a960c023333dc6676a71e17c4.tar.gz scummvm-rg350-a326ee192d73420a960c023333dc6676a71e17c4.tar.bz2 scummvm-rg350-a326ee192d73420a960c023333dc6676a71e17c4.zip |
DIRECTOR: Properly set moveable flag for sprites on loading
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/frame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 9364babb1b..ec60338bbf 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -219,6 +219,7 @@ void Frame::readChannels(Common::ReadStreamEndian *stream) { sprite._scriptId = stream->readUint16(); sprite._flags2 = stream->readByte(); // 0x40 editable, 0x80 moveable sprite._unk2 = stream->readByte(); + sprite._moveable = ((sprite._flags2 & 0x80) == 0x80); if (_vm->getVersion() >= 5) sprite._unk3 = stream->readUint32(); |