diff options
author | Paul Gilbert | 2015-03-08 21:15:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-08 21:15:14 -0400 |
commit | 6dd6e555133dfee1fa5647bfc9ba5cabc94a5ed9 (patch) | |
tree | e5058d68585ab1e77be77d9022b65abeef73c2f0 /engines/mads | |
parent | 1d76659da834d59b7a26c59951f6613d384bd532 (diff) | |
download | scummvm-rg350-6dd6e555133dfee1fa5647bfc9ba5cabc94a5ed9.tar.gz scummvm-rg350-6dd6e555133dfee1fa5647bfc9ba5cabc94a5ed9.tar.bz2 scummvm-rg350-6dd6e555133dfee1fa5647bfc9ba5cabc94a5ed9.zip |
MADS: Fix prior conversation list showing when crawling in vents
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/user_interface.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index a53ab31968..bcd409889e 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -410,13 +410,21 @@ void UserInterface::setup(InputMode inputMode) { } void UserInterface::drawTextElements() { - if (_vm->_game->_screenObjects._inputMode) { - drawConversationList(); - } else { + switch (_vm->_game->_screenObjects._inputMode) { + case kInputBuildingSentences: // Draw the actions drawActions(); drawInventoryList(); drawItemVocabList(); + break; + + case kInputConversation: + drawConversationList(); + break; + + case kInputLimitedSentences: + default: + break; } } |