mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-01 14:21:41 +00:00
DIRECTOR: Properly set moveable flag for sprites on loading
This commit is contained in:
parent
1f5b4bdf74
commit
a326ee192d
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user