From d711f0a71600d72a76a27c3896550ee9811be44d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 10 Sep 2003 23:29:33 +0000 Subject: fix for bugs #782733 and #794364 (hide mouse while smush video plays) svn-id: r10164 --- scumm/smush/smush_player.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 1646ea5872..e4342e045b 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -949,6 +949,9 @@ void SmushPlayer::play(const char *filename, const char *directory) { f.close(); _updateNeeded = false; + + // Hide mouse + bool oldMouseState = _scumm->_system->show_mouse(false); // Load the video setupAnim(filename, directory); @@ -975,4 +978,7 @@ void SmushPlayer::play(const char *filename, const char *directory) { }; deinit(); + + // Reset mouse state + _scumm->_system->show_mouse(oldMouseState); } -- cgit v1.2.3