From 01234cd773832548113e4607eaacb6022bfd829b Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Mon, 11 Mar 2019 20:42:39 +0100 Subject: CRYOMNI3D: Fix cursor shown in transitions --- engines/cryomni3d/versailles/engine.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- cgit v1.2.3