aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-09 09:32:14 -0400
committerPaul Gilbert2014-04-09 09:32:14 -0400
commit8df08335462db8fc692f18c9dc5bb4293019d2f6 (patch)
treeb69e840424bb7e5ea664c3f3ab6c2554dfb67d8b /engines/mads/game.cpp
parent2368ab78865f251184908d523edeab34514e08ed (diff)
downloadscummvm-rg350-8df08335462db8fc692f18c9dc5bb4293019d2f6.tar.gz
scummvm-rg350-8df08335462db8fc692f18c9dc5bb4293019d2f6.tar.bz2
scummvm-rg350-8df08335462db8fc692f18c9dc5bb4293019d2f6.zip
MADS: Fixes for correctly displaying inventory list in the user interface
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp
index eb7ba62fbd..e2e956e8cb 100644
--- a/engines/mads/game.cpp
+++ b/engines/mads/game.cpp
@@ -208,8 +208,8 @@ void Game::sectionLoop() {
_vm->_events->initVars();
_scene._userInterface._highlightedCommandIndex = -1;
- _scene._userInterface._highlightedItemIndex = -1;
- _scene._userInterface._highlightedActionIndex = -1;
+ _scene._userInterface._highlightedInvIndex = -1;
+ _scene._userInterface._highlightedItemVocabIndex = -1;
_scene._action.clear();
_player.setFinalFacing();