From a97715f9dcca2022a8f502ded4e4843f076b4687 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 11 Jun 2015 22:55:36 -0400 Subject: SHERLOCK: Refactor gotoStand into Person classes --- engines/sherlock/scalpel/scalpel_scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/scalpel/scalpel_scene.cpp') 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); -- cgit v1.2.3