From 934e15973ea86e0e863123d4c5eabeae44d6c763 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Wed, 31 Jan 2007 19:36:32 +0000 Subject: merge release@57486 release-candidate@57503 --- indra/newview/llhudmanager.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'indra/newview/llhudmanager.cpp') diff --git a/indra/newview/llhudmanager.cpp b/indra/newview/llhudmanager.cpp index 40e140253e..31e6318d25 100644 --- a/indra/newview/llhudmanager.cpp +++ b/indra/newview/llhudmanager.cpp @@ -176,9 +176,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.2.3