Remove TextMsg params padding on Dota.
Remove TextMsg params padding on Dota.
1.1 --- a/core/HalfLife2.cpp Sat Feb 15 23:23:53 2014 -0600
1.2 +++ b/core/HalfLife2.cpp Thu Feb 27 09:53:57 2014 -0500
1.3 @@ -530,10 +530,6 @@
1.4
1.5 pMsg->set_dest(dest);
1.6 pMsg->add_param(msg);
1.7 - pMsg->add_param("");
1.8 - pMsg->add_param("");
1.9 - pMsg->add_param("");
1.10 - pMsg->add_param("");
1.11 #elif SOURCE_ENGINE == SE_CSGO
1.12 CCSUsrMsg_TextMsg *pMsg;
1.13 if ((pMsg = (CCSUsrMsg_TextMsg *)g_UserMsgs.StartProtobufMessage(m_MsgTextMsg, players, 1, USERMSG_RELIABLE)) == NULL)