Update CPlayer::Kick for hl2sdk-csgo IClient changes.
This commit is contained in:
parent
21cae97820
commit
e9f0d1f513
@ -2107,7 +2107,7 @@ void CPlayer::Kick(const char *str)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
|
IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
|
||||||
#if SOURCE_ENGINE == SE_DOTA
|
#if SOURCE_ENGINE == SE_DOTA || SOURCE_ENGINE == SE_CSGO
|
||||||
pClient->Disconnect(str);
|
pClient->Disconnect(str);
|
||||||
#else
|
#else
|
||||||
pClient->Disconnect("%s", str);
|
pClient->Disconnect("%s", str);
|
||||||
|
Loading…
Reference in New Issue
Block a user