diff options
author | Paul Gilbert | 2015-06-12 22:20:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-12 22:20:28 -0400 |
commit | 5dc79a8f3272f8e5c9131fac925d4533a25ab4d9 (patch) | |
tree | dcaf6b03f70ac7d9d60d1ffcee3ceaa9b43023ff /engines/sherlock/scalpel/scalpel_scene.cpp | |
parent | a3fb5ab1fbb0cf3ff448ba9e9966ef21c7dc3847 (diff) | |
download | scummvm-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_scene.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_scene.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp index 47ec639559..a1943e59a0 100644 --- a/engines/sherlock/scalpel/scalpel_scene.cpp +++ b/engines/sherlock/scalpel/scalpel_scene.cpp @@ -508,16 +508,16 @@ int ScalpelScene::startCAnim(int cAnimNum, int playRate) { CAnim &cAnim = _cAnim[cAnimNum]; if (playRate < 0) { // Reverse direction - walkPos = cAnim._teleportPos; - walkDir = cAnim._teleportDir; - tpPos = cAnim._goto; - tpDir = cAnim._gotoDir; + walkPos = cAnim._teleport[0]; + walkDir = cAnim._teleport[0]._facing; + tpPos = cAnim._goto[0]; + tpDir = cAnim._goto[0]._facing; } else { // Forward direction - walkPos = cAnim._goto; - walkDir = cAnim._gotoDir; - tpPos = cAnim._teleportPos; - tpDir = cAnim._teleportDir; + walkPos = cAnim._goto[0]; + walkDir = cAnim._goto[0]._facing; + tpPos = cAnim._teleport[0]; + tpDir = cAnim._teleport[0]._facing; } CursorId oldCursor = events.getCursor(); |