diff options
author | Paul Gilbert | 2015-08-02 15:24:43 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-02 15:24:43 -0400 |
commit | 1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28 (patch) | |
tree | 33e34fb74da76d8260f721747e814d88268fa098 /engines/sherlock/tattoo | |
parent | 7765cdb9724db38c1046efc46b06326a451b00f2 (diff) | |
download | scummvm-rg350-1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28.tar.gz scummvm-rg350-1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28.tar.bz2 scummvm-rg350-1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28.zip |
SHERLOCK: RT: Fix NPC initialization when they start walking
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_people.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp index f74796e834..b0dfa73faf 100644 --- a/engines/sherlock/tattoo/tattoo_people.cpp +++ b/engines/sherlock/tattoo/tattoo_people.cpp @@ -526,7 +526,7 @@ void TattooPerson::walkToCoords(const Point32 &destPos, int destDir) { people._allowWalkAbort = true; } else { // Clear the path Variables - _npcIndex = _npcPause; + _npcIndex = _npcPause = 0; Common::fill(_npcPath, _npcPath + 100, 0); _npcFacing = destDir; } |