aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Percival2020-01-05 14:29:27 +0800
committerScott Percival2020-01-05 14:30:04 +0800
commit551d6a6bb09fd1f56da87add25c6eaf902412a8f (patch)
tree4ab612f6ab9f74e9714ccdb2c82e7409e587a892
parent07a17d3171fc1f74e2c4255d29aed1ab77d43638 (diff)
downloadscummvm-rg350-551d6a6bb09fd1f56da87add25c6eaf902412a8f.tar.gz
scummvm-rg350-551d6a6bb09fd1f56da87add25c6eaf902412a8f.tar.bz2
scummvm-rg350-551d6a6bb09fd1f56da87add25c6eaf902412a8f.zip
DIRECTOR: Fix bitmap sprite positioning
-rw-r--r--engines/director/cast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 4042f453bf..f0c074604b 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -63,8 +63,8 @@ BitmapCast::BitmapCast(Common::ReadStreamEndian &stream, uint32 castTag, uint16
_initialRect = Score::readRect(stream);
_boundingRect = Score::readRect(stream);
- _regX = stream.readUint16();
_regY = stream.readUint16();
+ _regX = stream.readUint16();
_bitsPerPixel = stream.readUint16();
if (_bitsPerPixel == 0)