From 983475ff7c5cf379a2206c88cfdfa2e0aeeacd60 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sun, 29 Mar 2020 13:54:09 +0300 Subject: [PATCH] Fixed: Hide 'sound disabled' warning on startup --- code/ryzom/client/src/interface_v3/music_player.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/music_player.cpp b/code/ryzom/client/src/interface_v3/music_player.cpp index 2deaa965b..f4d8b7db9 100644 --- a/code/ryzom/client/src/interface_v3/music_player.cpp +++ b/code/ryzom/client/src/interface_v3/music_player.cpp @@ -379,7 +379,10 @@ public: { if(!SoundMngr) { - CInterfaceManager::getInstance()->messageBox (CI18N::get ("uiSoundDisabled")); + // Do not show warning on volume change as its restored at startup + if (Params.find("volume") == std::string::npos) + CInterfaceManager::getInstance()->messageBox (CI18N::get ("uiMP3SoundDisabled")); + return; }