Updated for latest hl2sdk-dota changes.
This commit is contained in:
parent
1fbed9f7d0
commit
21169f4e9a
@ -2116,7 +2116,11 @@ 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
|
||||||
|
pClient->Disconnect(str);
|
||||||
|
#else
|
||||||
pClient->Disconnect("%s", str);
|
pClient->Disconnect("%s", str);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user