From 3a5554f7ba2af3aba2cfa28b7a0c95242334737a Mon Sep 17 00:00:00 2001 From: dergunov Date: Wed, 29 Jan 2014 06:36:32 +0700 Subject: 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". --- engines/tucker/tucker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/tucker') 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; -- cgit v1.2.3