[Scummvm-git-logs] scummvm master -> b2ba147d9655dbe8a165a4fafab0faf4bc4686fa

bgK bastien.bouclet at gmail.com
Thu May 10 16:11:37 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b2ba147d96 MOHAWK: RIVEN: Hide the mouse cursor after pressing a prison code button


Commit: b2ba147d9655dbe8a165a4fafab0faf4bc4686fa
    https://github.com/scummvm/scummvm/commit/b2ba147d9655dbe8a165a4fafab0faf4bc4686fa
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2018-05-10T16:06:40+02:00

Commit Message:
MOHAWK: RIVEN: Hide the mouse cursor after pressing a prison code button

It now matches the behavior of the original engine.

Fixes #10521.

Changed paths:
    engines/mohawk/riven_stacks/pspit.cpp


diff --git a/engines/mohawk/riven_stacks/pspit.cpp b/engines/mohawk/riven_stacks/pspit.cpp
index a313475..37d159f 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





More information about the Scummvm-git-logs mailing list