aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/sprites.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-26 22:07:33 -0400
committerPaul Gilbert2014-06-26 22:07:33 -0400
commit456ce2a678557c7b9e15493448a18be3040efcf7 (patch)
treec5b7ea6742e7524053b9103a59e51d007b0a3437 /engines/mads/sprites.cpp
parentbdee71f27922d1ba146323374e4501ec462d687d (diff)
downloadscummvm-rg350-456ce2a678557c7b9e15493448a18be3040efcf7.tar.gz
scummvm-rg350-456ce2a678557c7b9e15493448a18be3040efcf7.tar.bz2
scummvm-rg350-456ce2a678557c7b9e15493448a18be3040efcf7.zip
MADS: Implement the difficulty selection dialog
Diffstat (limited to 'engines/mads/sprites.cpp')
-rw-r--r--engines/mads/sprites.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp
index cd358077b5..2bf13eeb5a 100644
--- a/engines/mads/sprites.cpp
+++ b/engines/mads/sprites.cpp
@@ -331,6 +331,8 @@ void SpriteSlots::drawSprites(MSurface *s) {
xp = slot._position.x - (sprite->w / 2) - scene._posAdjust.x;
yp = slot._position.y - sprite->h - scene._posAdjust.y + 1;
}
+ xp += _vm->_screen._offset.x;
+ yp += _vm->_screen._offset.y;
if (slot._depth > 1) {
// Draw the frame with depth processing