diff options
author | Paul Gilbert | 2015-06-11 22:55:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-11 22:55:36 -0400 |
commit | a97715f9dcca2022a8f502ded4e4843f076b4687 (patch) | |
tree | 8aeba9580944a54bf0ece25e7f18f3a2b014c7e4 /engines/sherlock/scalpel/scalpel_scene.cpp | |
parent | a3e75c2a498644eee386877fcbd30f95014778d7 (diff) | |
download | scummvm-rg350-a97715f9dcca2022a8f502ded4e4843f076b4687.tar.gz scummvm-rg350-a97715f9dcca2022a8f502ded4e4843f076b4687.tar.bz2 scummvm-rg350-a97715f9dcca2022a8f502ded4e4843f076b4687.zip |
SHERLOCK: Refactor gotoStand into Person classes
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_scene.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp index e3bc6483eb..47ec639559 100644 --- a/engines/sherlock/scalpel/scalpel_scene.cpp +++ b/engines/sherlock/scalpel/scalpel_scene.cpp @@ -660,7 +660,7 @@ int ScalpelScene::startCAnim(int cAnimNum, int playRate) { if (tpPos.x != -1) { people[PLAYER]._position = tpPos; // Place the player people[PLAYER]._sequenceNumber = tpDir; - people.gotoStand(people[PLAYER]); + people[PLAYER].gotoStand(); } if (playRate < 0) @@ -689,7 +689,7 @@ int ScalpelScene::startCAnim(int cAnimNum, int playRate) { people[PLAYER]._position = tpPos; people[PLAYER]._sequenceNumber = tpDir; - people.gotoStand(people[PLAYER]); + people[PLAYER].gotoStand(); } events.setCursor(oldCursor); |