diff options
Diffstat (limited to 'engines/director/cast.cpp')
-rw-r--r-- | engines/director/cast.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp index a3c58008ed..f49d0b5f37 100644 --- a/engines/director/cast.cpp +++ b/engines/director/cast.cpp @@ -49,6 +49,9 @@ BitmapCast::BitmapCast(Common::ReadStreamEndian &stream, uint16 version) { regX = stream.readUint16(); regY = stream.readUint16(); + bitsPerPixel = stream.readUint16(); + if (bitsPerPixel == 0) bitsPerPixel = 1; + int tail = 0; while (!stream.eos()) { |