From d68db0bc0b1b7c50131e4e2456a803ec1204c47d Mon Sep 17 00:00:00 2001 From: obligaron Date: Fri, 22 Oct 2021 19:06:02 +0200 Subject: [PATCH] Fix hardware cursor gets white when selecting diablo at first run --- Source/diablo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/diablo.cpp b/Source/diablo.cpp index 5320ed449..e82b4046a 100644 --- a/Source/diablo.cpp +++ b/Source/diablo.cpp @@ -37,6 +37,7 @@ #include "error.h" #include "gamemenu.h" #include "gmenu.h" +#include "hwcursor.hpp" #include "help.h" #include "init.h" #include "lighting.h" @@ -942,6 +943,8 @@ void DiabloInit() if (!gbIsHellfire) { // Reinitalize the UI Elements cause we changed the game UiInitialize(); + if (IsHardwareCursor()) + SetHardwareCursor(CursorInfo::UnknownCursor()); } }