mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
SHERLOCK: RT: Fix loading of inventory verb list secondary actions
This commit is contained in:
parent
c06bf58217
commit
bc9da9c14d
@ -275,7 +275,7 @@ void WidgetInventoryVerbs::load() {
|
||||
|
||||
if (obj._type != INVALID && obj._type != HIDDEN) {
|
||||
for (int useNum = 0; useNum < 6; ++useNum) {
|
||||
if (obj._use[useNum]._verb.hasPrefix("*") &&
|
||||
if (!obj._use[useNum]._verb.hasPrefix("*") &&
|
||||
!obj._use[useNum]._target.compareToIgnoreCase(inv[_owner->_invSelect]._name)) {
|
||||
// Make sure the Verb is not already in the list
|
||||
bool found1 = false;
|
||||
|
Loading…
Reference in New Issue
Block a user