aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-10 16:04:49 +0200
committerBastien Bouclet2018-05-10 16:06:40 +0200
commitb2ba147d9655dbe8a165a4fafab0faf4bc4686fa (patch)
tree88fcae81c5d7f7d0d917306123d62551280682ad /engines
parent9729b099191e73d5958dbe13820a40f95d91dbcf (diff)
downloadscummvm-rg350-b2ba147d9655dbe8a165a4fafab0faf4bc4686fa.tar.gz
scummvm-rg350-b2ba147d9655dbe8a165a4fafab0faf4bc4686fa.tar.bz2
scummvm-rg350-b2ba147d9655dbe8a165a4fafab0faf4bc4686fa.zip
MOHAWK: RIVEN: Hide the mouse cursor after pressing a prison code button
It now matches the behavior of the original engine. Fixes #10521.
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/riven_stacks/pspit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stacks/pspit.cpp b/engines/mohawk/riven_stacks/pspit.cpp
index a3134754b4..37d159ff94 100644
--- a/engines/mohawk/riven_stacks/pspit.cpp
+++ b/engines/mohawk/riven_stacks/pspit.cpp
@@ -83,7 +83,9 @@ void PSpit::catherineIdleTimer() {
void PSpit::xpisland990_elevcombo(const ArgumentArray &args) {
// Play button sound based on args[0]
_vm->_sound->playSound(args[0] + 5);
+ _vm->_cursor->hideCursor();
_vm->delay(500);
+ _vm->_cursor->showCursor();
// It is impossible to get here if Gehn is not trapped. However,
// the original also disallows brute forcing the ending if you have