[Scummvm-cvs-logs] scummvm master -> 74147989e549741c7cfdd8a124b3841287b8ba49
dreammaster
dreammaster at scummvm.org
Mon Aug 3 00:40:57 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:
74147989e5 SHERLOCK: RT: Fix analysing solved Foolscap
Commit: 74147989e549741c7cfdd8a124b3841287b8ba49
https://github.com/scummvm/scummvm/commit/74147989e549741c7cfdd8a124b3841287b8ba49
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-02T18:40:01-04:00
Commit Message:
SHERLOCK: RT: Fix analysing solved Foolscap
Changed paths:
engines/sherlock/tattoo/widget_inventory.cpp
diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp
index a72f5eb..20881ef 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
More information about the Scummvm-git-logs
mailing list