diff options
author | Paul Gilbert | 2015-06-11 23:26:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-11 23:26:58 -0400 |
commit | eb7fb219464505779ac2ca562291f92788b13c30 (patch) | |
tree | 49111394528682f856a8f4cb9037156238055adf /engines/sherlock/talk.cpp | |
parent | a97715f9dcca2022a8f502ded4e4843f076b4687 (diff) | |
download | scummvm-rg350-eb7fb219464505779ac2ca562291f92788b13c30.tar.gz scummvm-rg350-eb7fb219464505779ac2ca562291f92788b13c30.tar.bz2 scummvm-rg350-eb7fb219464505779ac2ca562291f92788b13c30.zip |
SHERLOCK: Refactor setWalking into Person classes
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 60ab53cfa0..17e7333055 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -167,7 +167,7 @@ void Talk::talkTo(const Common::String &filename) { // Turn on the Exit option ui._endKeyActive = true; - if (people[PLAYER]._walkCount || people._walkTo.size() > 0) { + if (people[PLAYER]._walkCount || people[PLAYER]._walkTo.size() > 0) { // Only interrupt if an action if trying to do an action, and not just // if the player is walking around the scene if (people._allowWalkAbort) |