aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/people.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-06-12 00:34:43 +0300
committerFilippos Karapetis2015-06-12 00:35:42 +0300
commit92ba3d1a29fbbb4506cbaffd023e76a560f0e43d (patch)
treea712af9f1009080e852ed0ea09c6844127146bd9 /engines/sherlock/people.cpp
parent09cd35b724fa4c7266ba9ad886972348e341ea1d (diff)
downloadscummvm-rg350-92ba3d1a29fbbb4506cbaffd023e76a560f0e43d.tar.gz
scummvm-rg350-92ba3d1a29fbbb4506cbaffd023e76a560f0e43d.tar.bz2
scummvm-rg350-92ba3d1a29fbbb4506cbaffd023e76a560f0e43d.zip
SHERLOCK: Implement the rest of the NPC path opcodes for Rose Tattoo
This includes cmdNPCLabelGoto, cmdNPCLabelIfFlagGoto, cmdNPCLabelSet, cmdSetNPCPathDest, cmdSetNPCPathPause, cmdSetNPCPathPauseTakingNotes, cmdSetNPCPathPauseLookingHolmes and cmdSetNPCTalkFile
Diffstat (limited to 'engines/sherlock/people.cpp')
-rw-r--r--engines/sherlock/people.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp
index 18621badb2..e4892b787a 100644
--- a/engines/sherlock/people.cpp
+++ b/engines/sherlock/people.cpp
@@ -72,9 +72,10 @@ const char *const WALK_LIB_NAMES[NUM_IN_WALK_LIB] = {
Person::Person() : Sprite(), _walkLoaded(false), _npcIndex(0), _npcStack(0), _npcPause(false) {
Common::fill(&_npcPath[0], &_npcPath[MAX_NPC_PATH], 0);
_tempX = _tempScaleVal = 0;
- _updateNPCPath = false;
_npcIndex = 0;
_npcStack = 0;
+ _npcMoved = false;
+ _resetNPCPath = true;
_savedNpcSequence = 0;
_savedNpcFrame = 0;
_updateNPCPath = false;