diff options
Diffstat (limited to 'linden/indra/newview/llhudmanager.cpp')
-rw-r--r-- | linden/indra/newview/llhudmanager.cpp | 10 |
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 | } |