aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_user_interface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-12 22:20:28 -0400
committerPaul Gilbert2015-06-12 22:20:28 -0400
commit5dc79a8f3272f8e5c9131fac925d4533a25ab4d9 (patch)
treedcaf6b03f70ac7d9d60d1ffcee3ceaa9b43023ff /engines/sherlock/scalpel/scalpel_user_interface.cpp
parenta3fb5ab1fbb0cf3ff448ba9e9966ef21c7dc3847 (diff)
downloadscummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.tar.gz
scummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.tar.bz2
scummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.zip
SHERLOCK: RT: Implement animation structure changes
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_user_interface.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 739eb5d1bb..dfe4d252cc 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.cpp
+++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp
@@ -2200,11 +2200,11 @@ void ScalpelUserInterface::checkAction(ActionType &action, const char *const mes
if (action._cAnimNum != 99) {
if (action._cAnimSpeed & REVERSE_DIRECTION) {
- pt = anim._teleportPos;
- dir = anim._teleportDir;
+ pt = anim._teleport[0];
+ dir = anim._teleport[0]._facing;
} else {
- pt = anim._goto;
- dir = anim._gotoDir;
+ pt = anim._goto[0];
+ dir = anim._goto[0]._facing;
}
}
} else {