Remove TextMsg params padding on Dota.
This commit is contained in:
parent
ce6b993954
commit
b99ab3d1d2
@ -530,10 +530,6 @@ bool CHalfLife2::TextMsg(int client, int dest, const char *msg)
|
|||||||
|
|
||||||
pMsg->set_dest(dest);
|
pMsg->set_dest(dest);
|
||||||
pMsg->add_param(msg);
|
pMsg->add_param(msg);
|
||||||
pMsg->add_param("");
|
|
||||||
pMsg->add_param("");
|
|
||||||
pMsg->add_param("");
|
|
||||||
pMsg->add_param("");
|
|
||||||
#elif SOURCE_ENGINE == SE_CSGO
|
#elif SOURCE_ENGINE == SE_CSGO
|
||||||
CCSUsrMsg_TextMsg *pMsg;
|
CCSUsrMsg_TextMsg *pMsg;
|
||||||
if ((pMsg = (CCSUsrMsg_TextMsg *)g_UserMsgs.StartProtobufMessage(m_MsgTextMsg, players, 1, USERMSG_RELIABLE)) == NULL)
|
if ((pMsg = (CCSUsrMsg_TextMsg *)g_UserMsgs.StartProtobufMessage(m_MsgTextMsg, players, 1, USERMSG_RELIABLE)) == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user