From adbbe24b0941c369d52461418cef206fc895168e Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 27 May 2025 16:35:41 +0500 Subject: GUI updates - Update ImGui to latest release (v1.91.9b) - Fixup splash using a deprecated ImGui function - Hide some settings tabs when not available - Fix sound config values getting trashed whenever sound system cannot be initialized --- game/client/game.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/client/game.cc') diff --git a/game/client/game.cc b/game/client/game.cc index c1d3fa8..d6d1886 100644 --- a/game/client/game.cc +++ b/game/client/game.cc @@ -342,6 +342,8 @@ void client_game::init(void) globals::gui_scale = 0U; globals::gui_screen = GUI_MAIN_MENU; + sound::init_config(); + if(globals::sound_ctx) { sound::init(); } -- cgit