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/talk.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/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index a968f9fea6..60ab53cfa0 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -173,7 +173,7 @@ void Talk::talkTo(const Common::String &filename) { if (people._allowWalkAbort) abortFlag = true; - people.gotoStand(people[PLAYER]); + people[PLAYER].gotoStand(); } if (_talkToAbort) @@ -965,7 +965,7 @@ void Talk::doScript(const Common::String &script) { _yp = (_talkTo == -1) ? 5 : screen.fontHeight() + 11; if (IS_ROSE_TATTOO) { - for (uint idx = 0; idx < MAX_CHARACTERS; ++idx) { + for (int idx = 0; idx < MAX_CHARACTERS; ++idx) { Person &p = people[idx]; p._savedNpcSequence = p._sequenceNumber; p._savedNpcFrame = p._frameNumber; |