aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-02 18:40:01 -0400
committerPaul Gilbert2015-08-02 18:40:01 -0400
commit74147989e549741c7cfdd8a124b3841287b8ba49 (patch)
treee5e8abaa25a80f32467f4c7c4e9bf653c8f31caf /engines/sherlock
parent6a346b97a20ed02883bf2a8435799665bdf3fe35 (diff)
downloadscummvm-rg350-74147989e549741c7cfdd8a124b3841287b8ba49.tar.gz
scummvm-rg350-74147989e549741c7cfdd8a124b3841287b8ba49.tar.bz2
scummvm-rg350-74147989e549741c7cfdd8a124b3841287b8ba49.zip
SHERLOCK: RT: Fix analysing solved Foolscap
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/tattoo/widget_inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp
index a72f5eb8ee..20881ef012 100644
--- a/engines/sherlock/tattoo/widget_inventory.cpp
+++ b/engines/sherlock/tattoo/widget_inventory.cpp
@@ -393,7 +393,7 @@ void WidgetInventoryVerbs::handleEvents() {
bool doFoolscap = !inv[_owner->_invSelect]._name.compareToIgnoreCase(FIXED(Inv6)) &&
!_inventCommands[_invVerbSelect].compareToIgnoreCase(FIXED(Solve));
doFoolscap |= (!inv[_owner->_invSelect]._name.compareToIgnoreCase(FIXED(Inv6)) || !inv[_owner->_invSelect]._name.compareToIgnoreCase(FIXED(Inv7)))
- && _inventCommands[_invVerbSelect].compareToIgnoreCase(FIXED(Look)) && vm.readFlags(299);
+ && !_inventCommands[_invVerbSelect].compareToIgnoreCase(FIXED(Look)) && vm.readFlags(299);
if (doFoolscap) {
// Close the entire Inventory and return to Standard Mode