RLVa crash fix, thx Kitty!
This commit is contained in:
@@ -467,7 +467,7 @@ bool RlvUtil::sendChatReply(S32 nChannel, const std::string& strUTF8Text)
|
||||
gMessageSystem->addUUIDFast(_PREHASH_AgentID, gAgent.getID());
|
||||
gMessageSystem->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID());
|
||||
gMessageSystem->nextBlockFast(_PREHASH_ChatData);
|
||||
gMessageSystem->addStringFast(_PREHASH_Message, strUTF8Text);
|
||||
gMessageSystem->addStringFast(_PREHASH_Message, utf8str_truncate(strUTF8Text, MAX_MSG_STR_LEN));
|
||||
gMessageSystem->addU8Fast(_PREHASH_Type, CHAT_TYPE_SHOUT);
|
||||
gMessageSystem->addS32("Channel", nChannel);
|
||||
gAgent.sendReliableMessage();
|
||||
|
||||
Reference in New Issue
Block a user