From 844915bbfe333b2c72ebd39437bac14f830047be Mon Sep 17 00:00:00 2001 From: GeneralsX Developer Date: Tue, 27 Jan 2026 21:57:11 -0300 Subject: [PATCH] fix(audio): skip CD insert prompt during init --- Core/GameEngine/Source/Common/Audio/GameAudio.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Core/GameEngine/Source/Common/Audio/GameAudio.cpp b/Core/GameEngine/Source/Common/Audio/GameAudio.cpp index 6f9e83de8f..eebbfa70f5 100644 --- a/Core/GameEngine/Source/Common/Audio/GameAudio.cpp +++ b/Core/GameEngine/Source/Common/Audio/GameAudio.cpp @@ -239,17 +239,11 @@ void AudioManager::init() break; } // We loop infinitely on the splash screen if we don't allow breaking out of this loop. -//#if !defined( RTS_DEBUG ) else { - // Display the warning. - - if (OSDisplayWarningBox("GUI:InsertCDPrompt", "GUI:InsertCDMessage", OSDBT_OK | OSDBT_CANCEL, OSDOF_SYSTEMMODAL | OSDOF_EXCLAMATIONICON) == OSDBT_CANCEL) { - //TheGameEngine->setQuitting(TRUE); // Can't do this to WorldBuilder - break; - } + // All music files now available locally - no need to prompt for CD + break; // Exit the loop and continue with local music setup } -//#endif } }