aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/ui
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/ui')
-rw-r--r--engines/bladerunner/ui/spinner.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/bladerunner/ui/spinner.cpp b/engines/bladerunner/ui/spinner.cpp
index d47a28c63a..bb4f67b05b 100644
--- a/engines/bladerunner/ui/spinner.cpp
+++ b/engines/bladerunner/ui/spinner.cpp
@@ -431,9 +431,13 @@ void Spinner::tickDescription() {
return;
}
- _vm->_actors[_actorId]->speechPlay(_sentenceId, false);
- _actorId = -1;
- _sentenceId = -1;
+ if (!_vm->_mouse->isDisabled()) {
+ // mouse can mouse when disab;ed so hover callbacks will work, while the cursor is invisible
+ // so postpone the speech until mouse is invisible again
+ _vm->_actors[_actorId]->speechPlay(_sentenceId, false);
+ _actorId = -1;
+ _sentenceId = -1;
+ }
}
void Spinner::playSpeechLine(int actorId, int sentenceId, float duration) {