From 87f98695b5169082d4cebd8aa463aa8f96f2c5f2 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 22 Oct 2021 01:02:07 +0200 Subject: [PATCH] Do not try to render menu when not properly initialized Fixes #3206 --- Source/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/menu.cpp b/Source/menu.cpp index 8c8d2165d..007dbaf1a 100644 --- a/Source/menu.cpp +++ b/Source/menu.cpp @@ -134,7 +134,7 @@ bool mainmenu_select_hero_dialog(GameData *gameData) void mainmenu_wait_for_button_sound() { SDL_FillRect(DiabloUiSurface(), nullptr, 0x000000); - UiPollAndRender(); + UiFadeIn(); SDL_Delay(350); // delay to let button pressed sound finish playing }