Update CPlayer::Kick for hl2sdk-csgo IClient changes.
Update CPlayer::Kick for hl2sdk-csgo IClient changes.
1.1 --- a/core/PlayerManager.cpp Thu Mar 06 21:25:30 2014 -0500
1.2 +++ b/core/PlayerManager.cpp Thu Mar 06 21:33:18 2014 -0500
1.3 @@ -2107,7 +2107,7 @@
1.4 else
1.5 {
1.6 IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
1.7 -#if SOURCE_ENGINE == SE_DOTA
1.8 +#if SOURCE_ENGINE == SE_DOTA || SOURCE_ENGINE == SE_CSGO
1.9 pClient->Disconnect(str);
1.10 #else
1.11 pClient->Disconnect("%s", str);