aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/tattoo/widget_verbs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp
index 09d2795a7b..499afb2e79 100644
--- a/engines/sherlock/tattoo/widget_verbs.cpp
+++ b/engines/sherlock/tattoo/widget_verbs.cpp
@@ -58,9 +58,8 @@ void WidgetVerbs::load(bool objectsOn) {
// person or an object
if (ui._personFound) {
TattooPerson &person = people[ui._activeObj - 1000];
- TattooPerson &npc = people[ui._activeObj - 1001];
- if (!scumm_strnicmp(npc._npcName.c_str(), "WATS", 4))
+ if (!scumm_strnicmp(person._npcName.c_str(), "WATS", 4))
isWatson = true;