From bc639c25c8f8e8f6a86235f59352851313753830 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 17 May 2014 14:35:48 -0400 Subject: MADS: Fix for using inventory actions --- engines/mads/action.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mads') diff --git a/engines/mads/action.cpp b/engines/mads/action.cpp index e9593955c5..5d63c3a268 100644 --- a/engines/mads/action.cpp +++ b/engines/mads/action.cpp @@ -472,8 +472,8 @@ void MADSAction::checkActionAtMousePos() { _mainObjectSource = CAT_NONE; } else { InventoryObject &invObject = _vm->_game->_objects.getItem(userInterface._selectedInvIndex); - _verbType = invObject._vocabList[_selectedRow + 1]._verbType; - _prepType = invObject._vocabList[_selectedRow + 1]._prepType; + _verbType = invObject._vocabList[_selectedRow]._verbType; + _prepType = invObject._vocabList[_selectedRow]._prepType; _hotspotId = userInterface._selectedInvIndex; _mainObjectSource = CAT_INV_LIST; -- cgit v1.2.3