aboutsummaryrefslogtreecommitdiff
path: root/engines/access/amazon/amazon_room.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-22 22:58:44 -0400
committerPaul Gilbert2014-08-22 22:58:44 -0400
commit44436def8328accecf756d34103f5322d0fe0f6f (patch)
tree84c5e887a7962f9a11e84f3ab3def90119f914ef /engines/access/amazon/amazon_room.cpp
parentb4d2484633e80ac2a1caccfedb51980cd7926c11 (diff)
downloadscummvm-rg350-44436def8328accecf756d34103f5322d0fe0f6f.tar.gz
scummvm-rg350-44436def8328accecf756d34103f5322d0fe0f6f.tar.bz2
scummvm-rg350-44436def8328accecf756d34103f5322d0fe0f6f.zip
ACCESS: Stop player moving when scene changes
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r--engines/access/amazon/amazon_room.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp
index 79c70c0b33..bc0f605d8e 100644
--- a/engines/access/amazon/amazon_room.cpp
+++ b/engines/access/amazon/amazon_room.cpp
@@ -114,7 +114,11 @@ void AmazonRoom::reloadRoom1() {
_vm->copyBF2Vid();
}
+ // Stop player moving
+ _vm->_player->_playerMove = false;
_vm->_player->_frame = 0;
+
+ // Clear any dirty rects from the old scene
_vm->_oldRects.clear();
_vm->_newRects.clear();
}