[Scummvm-cvs-logs] scummvm master -> e704f9aa9d06f61acdc92a0161ff433fcdb8efff

dreammaster dreammaster at scummvm.org
Tue Sep 22 02:26:45 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:
e704f9aa9d SHERLOCK: RT: Fix Watson's Journal option not shown on all pages


Commit: e704f9aa9d06f61acdc92a0161ff433fcdb8efff
    https://github.com/scummvm/scummvm/commit/e704f9aa9d06f61acdc92a0161ff433fcdb8efff
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-09-21T20:26:13-04:00

Commit Message:
SHERLOCK: RT: Fix Watson's Journal option not shown on all pages

Changed paths:
    engines/sherlock/tattoo/widget_verbs.cpp



diff --git a/engines/sherlock/tattoo/widget_verbs.cpp b/engines/sherlock/tattoo/widget_verbs.cpp
index 09d2795..499afb2 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;
 
 






More information about the Scummvm-git-logs mailing list