From c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:49 -0500 Subject: Second Life viewer sources 1.13.3.2 --- linden/indra/newview/llhudmanager.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llhudmanager.cpp') 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() } if (hep->getNeedsSendToSim() && hep->getOriginatedHere()) { - gMessageSystem->newMessageFast(_PREHASH_ViewerEffect); - gMessageSystem->nextBlockFast(_PREHASH_Effect); - hep->packData(gMessageSystem); + LLMessageSystem* msg = gMessageSystem; + msg->newMessageFast(_PREHASH_ViewerEffect); + msg->nextBlockFast(_PREHASH_AgentData); + msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); + msg->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID()); + msg->nextBlockFast(_PREHASH_Effect); + hep->packData(msg); hep->setNeedsSendToSim(FALSE); gAgent.sendMessage(); } -- cgit v1.1