Update CPlayer::Kick for hl2sdk-csgo IClient changes.

This commit is contained in:
Nicholas Hastings 2014-03-06 21:33:18 -05:00
parent 21cae97820
commit e9f0d1f513

View File

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