aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/sprite.cpp')
-rw-r--r--engines/m4/sprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/sprite.cpp b/engines/m4/sprite.cpp
index d8d21bc34d..0ff4bec855 100644
--- a/engines/m4/sprite.cpp
+++ b/engines/m4/sprite.cpp
@@ -54,8 +54,8 @@ M4Sprite::M4Sprite(Common::SeekableReadStream* source, int xOfs, int yOfs, int w
loadMadsSprite(source);
}
- xOffset = xOfs;
- yOffset = yOfs;
+ x = xOffset = xOfs;
+ y = yOffset = yOfs;
}