Updated for latest hl2sdk-dota changes.

This commit is contained in:
Nicholas Hastings 2013-07-13 13:58:47 -04:00
parent 1fbed9f7d0
commit 21169f4e9a

View File

@ -2116,7 +2116,11 @@ void CPlayer::Kick(const char *str)
else
{
IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
#if SOURCE_ENGINE == SE_DOTA
pClient->Disconnect(str);
#else
pClient->Disconnect("%s", str);
#endif
}
}