From b439cf75b54df7648d207e7e587b56043920f732 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 21 Sep 2015 20:00:30 -0400 Subject: SHERLOCK: RT: Remove redundant voices check when showing look dialogs --- engines/sherlock/tattoo/tattoo_user_interface.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines/sherlock') diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index da4a277ba3..139497a8a4 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -514,11 +514,9 @@ void TattooUserInterface::doStandardControl() { void TattooUserInterface::doLookControl() { Events &events = *_vm->_events; TattooScene &scene = *(TattooScene *)_vm->_scene; - Sound &sound = *_vm->_sound; - // See if a mouse button was released or a key pressed, and we want to initiate an action - // TODO: Not sure about _soundOn.. should be check for speaking voice for text being complete - if (events._released || events._rightReleased || _keyState.keycode || (sound._voices && !sound._soundOn)) { + // See if a mouse button was released or a key pressed to close the active look dialog + if (events._released || events._rightReleased || _keyState.keycode) { // See if we were looking at an inventory object if (!_invLookFlag) { // See if there is any more text to display -- cgit v1.2.3