Fix non-static LLCachedControl in FSRadar

Ansariel 2013-10-14 00:10:13 +02:00
parent c41a37fd3b
commit 1bc4a7f8ca
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ FSRadar::~FSRadar()
void FSRadar::radarAlertMsg(const LLUUID& agent_id, const LLAvatarName& av_name, const std::string& postMsg)
{
// <FS:CR> Milkshake-style radar alerts
LLCachedControl<bool> milkshake_radar(gSavedSettings, "FSMilkshakeRadarToasts", false);
static LLCachedControl<bool> milkshake_radar(gSavedSettings, "FSMilkshakeRadarToasts", false);
if (milkshake_radar)
{