aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-09-21 20:26:13 -0400
committerPaul Gilbert2015-09-21 20:26:13 -0400
commite704f9aa9d06f61acdc92a0161ff433fcdb8efff (patch)
tree4e2a97987c98382b60e3de9ee459d352e4990eea
parentb439cf75b54df7648d207e7e587b56043920f732 (diff)
downloadscummvm-rg350-e704f9aa9d06f61acdc92a0161ff433fcdb8efff.tar.gz
scummvm-rg350-e704f9aa9d06f61acdc92a0161ff433fcdb8efff.tar.bz2
scummvm-rg350-e704f9aa9d06f61acdc92a0161ff433fcdb8efff.zip
SHERLOCK: RT: Fix Watson's Journal option not shown on all pages
-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;