I have also found this is still in the source code:
Code:
if (ed)
{
index = UTIL_GetBotIndex (ed);
// is this message for a bot?
if (index != -1)
{
botMsgFunction = NULL; // no msg function until known otherwise
botMsgEndFunction = NULL; // no msg end function until known otherwise
botMsgIndex = index; // index of bot receiving message
.......
else if (msg_type ==
GET_USER_MSG_ID (PLID, "WeaponList", NULL))
{
botMsgFunction = BotClient_CS_WeaponList;
but in CS 1.6 since the different way to send the WeaponList message this will just never get called. this may solve the problem:
Code:
if (gpGlobals->deathmatch)
{
int index;
if (msg_type == message_WeaponList)
botMsgFunction = BotClient_CS_WeaponList;
if (ed)
{
index = UTIL_GetBotIndex(ed);
// is this message for a bot?
if (index != -1)
{