diff options
author | Max Horn | 2003-09-10 23:29:33 +0000 |
---|---|---|
committer | Max Horn | 2003-09-10 23:29:33 +0000 |
commit | d711f0a71600d72a76a27c3896550ee9811be44d (patch) | |
tree | 32e0df9a49b6f2e4024b824eb5ebeb660bed48c5 | |
parent | ba34c1f4cf2c6a20d067020390e4949b2d71df35 (diff) | |
download | scummvm-rg350-d711f0a71600d72a76a27c3896550ee9811be44d.tar.gz scummvm-rg350-d711f0a71600d72a76a27c3896550ee9811be44d.tar.bz2 scummvm-rg350-d711f0a71600d72a76a27c3896550ee9811be44d.zip |
fix for bugs #782733 and #794364 (hide mouse while smush video plays)
svn-id: r10164
-rw-r--r-- | scumm/smush/smush_player.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |