From 502b2684c998949fe8f5a2169924bb9d51ad8afa Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 3 Aug 2021 17:48:58 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Disable=20hardware=20cursor=20du?= =?UTF-8?q?ring=20video=20playback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #2448 --- Source/movie.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/movie.cpp b/Source/movie.cpp index 58a572edd..457db8586 100644 --- a/Source/movie.cpp +++ b/Source/movie.cpp @@ -39,6 +39,10 @@ void play_movie(const char *pszMovie, bool userCanClose) effects_play_sound("Sfx\\Misc\\blank.wav"); #endif + if (IsHardwareCursorEnabled()) { + SetHardwareCursorVisible(false); + } + if (SVidPlayBegin(pszMovie, loop_movie ? 0x100C0808 : 0x10280808)) { tagMSG msg; while (movie_playing) {