[Scummvm-cvs-logs] scummvm master -> 91c131f8ff835f2241353f2d827c8eafa58e96ab

dreammaster dreammaster at scummvm.org
Sat Aug 29 22:15:00 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:
91c131f8ff SHERLOCK: RT: Reset each person _resetNPCPath when starting a script


Commit: 91c131f8ff835f2241353f2d827c8eafa58e96ab
    https://github.com/scummvm/scummvm/commit/91c131f8ff835f2241353f2d827c8eafa58e96ab
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-29T16:14:31-04:00

Commit Message:
SHERLOCK: RT: Reset each person _resetNPCPath when starting a script

Changed paths:
    engines/sherlock/talk.cpp



diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 1b1a7cc..26550a7 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -671,6 +671,7 @@ void Talk::doScript(const Common::String &script) {
 			Tattoo::TattooPerson &p = (*(Tattoo::TattooPeople *)_vm->_people)[idx];
 			p._savedNpcSequence = p._sequenceNumber;
 			p._savedNpcFrame = p._frameNumber;
+			p._resetNPCPath = true;
 		}
 	}
 






More information about the Scummvm-git-logs mailing list