diff options
author | dergunov | 2014-01-29 06:36:32 +0700 |
---|---|---|
committer | D G Turner | 2014-02-10 14:48:50 +0000 |
commit | 3a5554f7ba2af3aba2cfa28b7a0c95242334737a (patch) | |
tree | 22727846d90f7ce8e80e9d5d08021ccb2602ec7f /engines/tucker | |
parent | 3f6d71dd258cf998c8fbca25ad98b4b8dfd1a9a6 (diff) | |
download | scummvm-rg350-3a5554f7ba2af3aba2cfa28b7a0c95242334737a.tar.gz scummvm-rg350-3a5554f7ba2af3aba2cfa28b7a0c95242334737a.tar.bz2 scummvm-rg350-3a5554f7ba2af3aba2cfa28b7a0c95242334737a.zip |
TUCKER: Fix bug #6381 - "TUCKER: In 3rd part, "Use Peg" fails..."
"Use Peg" is a single-item action and these are hardcoded in the
engine. The default otherwise is dual-item action "Use X on Y".
Diffstat (limited to 'engines/tucker')
-rw-r--r-- | engines/tucker/tucker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 04e83efbe5..d443cd3a88 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -3682,7 +3682,8 @@ void TuckerEngine::setActionForInventoryObject() { _actionRequiresTwoObjects = false; return; } - if ((_partNum == 3 && (_actionObj1Num == 6 || _actionObj1Num == 3 || _actionObj1Num == 17)) || + // Items with unary usage i.e. "Use X", rather than "Use X on Y" + if ((_partNum == 3 && (_actionObj1Num == 6 || _actionObj1Num == 3 || _actionObj1Num == 17 || _actionObj1Num == 33)) || (_partNum == 2 && _actionObj1Num == 19) || (_partNum == 3 && (_actionObj1Num == 42 && _selectedObjectNum == 18)) ) { _actionVerbLocked = 0; |