[Scummvm-cvs-logs] scummvm master -> 1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28
dreammaster
dreammaster at scummvm.org
Sun Aug 2 21:25:49 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1ae250f53b SHERLOCK: RT: Fix NPC initialization when they start walking
Commit: 1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28
https://github.com/scummvm/scummvm/commit/1ae250f53b3dbd09ebf71e9f6eedc1e8d28d2e28
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-02T15:24:43-04:00
Commit Message:
SHERLOCK: RT: Fix NPC initialization when they start walking
Changed paths:
engines/sherlock/tattoo/tattoo_people.cpp
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index f74796e..b0dfa73 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;
}
More information about the Scummvm-git-logs
mailing list