aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudmanager.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:49 -0500
committerJacek Antonelli2008-08-15 23:44:49 -0500
commitc659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd (patch)
tree49f225d319b111f30f113c4cf7728565afa52132 /linden/indra/newview/llhudmanager.cpp
parentSecond Life viewer sources 1.13.2.15 (diff)
downloadmeta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.zip
meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.gz
meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.bz2
meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.xz
Second Life viewer sources 1.13.3.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudmanager.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudmanager.cpp b/linden/indra/newview/llhudmanager.cpp
index 2afdac0..bb1c2da 100644
--- a/linden/indra/newview/llhudmanager.cpp
+++ b/linden/indra/newview/llhudmanager.cpp
@@ -195,9 +195,13 @@ void LLHUDManager::sendEffects()
195 } 195 }
196 if (hep->getNeedsSendToSim() && hep->getOriginatedHere()) 196 if (hep->getNeedsSendToSim() && hep->getOriginatedHere())
197 { 197 {
198 gMessageSystem->newMessageFast(_PREHASH_ViewerEffect); 198 LLMessageSystem* msg = gMessageSystem;
199 gMessageSystem->nextBlockFast(_PREHASH_Effect); 199 msg->newMessageFast(_PREHASH_ViewerEffect);
200 hep->packData(gMessageSystem); 200 msg->nextBlockFast(_PREHASH_AgentData);
201 msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID());
202 msg->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID());
203 msg->nextBlockFast(_PREHASH_Effect);
204 hep->packData(msg);
201 hep->setNeedsSendToSim(FALSE); 205 hep->setNeedsSendToSim(FALSE);
202 gAgent.sendMessage(); 206 gAgent.sendMessage();
203 } 207 }