aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorLe Philousophe2019-03-11 20:42:39 +0100
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit01234cd773832548113e4607eaacb6022bfd829b (patch)
tree49fe3173bdbbd3c6a0ea71ca2ca47597bfd2f52c /engines
parent769f8d46ef3c58847969cf772e38c98a062b7267 (diff)
downloadscummvm-rg350-01234cd773832548113e4607eaacb6022bfd829b.tar.gz
scummvm-rg350-01234cd773832548113e4607eaacb6022bfd829b.tar.bz2
scummvm-rg350-01234cd773832548113e4607eaacb6022bfd829b.zip
CRYOMNI3D: Fix cursor shown in transitions
Diffstat (limited to 'engines')
-rw-r--r--engines/cryomni3d/versailles/engine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/cryomni3d/versailles/engine.cpp b/engines/cryomni3d/versailles/engine.cpp
index 235a923100..d4ddea683c 100644
--- a/engines/cryomni3d/versailles/engine.cpp
+++ b/engines/cryomni3d/versailles/engine.cpp
@@ -541,8 +541,12 @@ void CryOmni3DEngine_Versailles::playTransitionEndLevel(int level) {
fillSurface(0);
+ // In original game the HNM player just doesn't render the cursor
+ bool cursorWasVisible = g_system->showMouse(false);
+
// Videos are like music because if you mute music in game it will mute videos soundtracks
playHNM(video, Audio::Mixer::kMusicSoundType);
+
clearKeys();
if (g_engine->shouldQuit()) {
_abortCommand = AbortQuit;
@@ -555,6 +559,9 @@ void CryOmni3DEngine_Versailles::playTransitionEndLevel(int level) {
return;
}
+ // Display back cursor there once the palette has been zeroed
+ g_system->showMouse(cursorWasVisible);
+
fillSurface(0);
if (level == 7 || level == 8) {