Update CPlayer::Kick for hl2sdk-csgo IClient changes.
authorNicholas Hastings <skamonkey@gmail.com>
Thu Mar 06 21:33:18 2014 -0500 (2014-03-06)
changeset 42777a4e68fa7c77
parent 4276 159dc2eb6f3c
child 4278 b29d1e111db9
Update CPlayer::Kick for hl2sdk-csgo IClient changes.
core/PlayerManager.cpp
     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);