summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2014-01-03 13:31:51 -0500
committerJonathan Yap <none@none>2014-01-03 13:31:51 -0500
commitd15cc2dadc34c757d1ac6aef66d5baa38fb80968 (patch)
tree27d511e7e7887d09f8fc80da488647647d90aa2d /indra/newview/llviewermessage.cpp
parent30f0d61510a2f7d28bd24d2165807e7e6ced4e55 (diff)
STORM-1980 Add shake effect
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rwxr-xr-xindra/newview/llviewermessage.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index e81de844d1..076419e96a 100755
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -5967,10 +5967,6 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem)
seconds = static_cast<S32>(llsdBlock["SECONDS"].asInteger());
}
- LLSD params;
- params["NAME"] = llsdBlock["NAME"];
- params["SECONDS"] = (LLSD::Integer)seconds;
-
LLFloaterRegionRestarting* floaterp = LLFloaterReg::findTypedInstance<LLFloaterRegionRestarting>("region_restarting");
if (floaterp)
@@ -5979,6 +5975,9 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem)
}
else
{
+ LLSD params;
+ params["NAME"] = llsdBlock["NAME"];
+ params["SECONDS"] = (LLSD::Integer)seconds;
LLFloaterReg::showInstance("region_restarting", params);
}