From 646a514fac5819005e362f8845ab4ecfa7154d42 Mon Sep 17 00:00:00 2001 From: PanteraPolnocy Date: Wed, 11 Sep 2013 17:39:21 +0200 Subject: [PATCH] FIRE-11550: [BUG-3819] Region Restart Sound not sounding - for manually scheduled estate-level restarts Thanks to Takoda for help with some quick testing --- indra/newview/llviewermessage.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 34e98138c7..a28544aa13 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -7181,6 +7181,14 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem) } } + // A small hack for FIRE-317: "Provide an acoustic warning to inform you about region restarts" + // Also, FIRE-11550 + if (notificationID == "RegionRestartSeconds" || notificationID == "RegionRestartMinutes") + { + make_ui_sound("UISndRegionRestart"); + } + // + if ( (notificationID == "RegionEntryAccessBlocked") || (notificationID == "LandClaimAccessBlocked") || @@ -7336,9 +7344,9 @@ void process_alert_core(const std::string& message, BOOL modal) std::string alert_name(message.substr(ALERT_PREFIX.length())); if (!handle_special_alerts(alert_name)) { - LLNotificationsUtil::add(alert_name); + LLNotificationsUtil::add(alert_name); processed_message = alert_name; // FIRE-317, region restart alert - } + } } else if (message.find(NOTIFY_PREFIX) == 0) {