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

--HG--
extra : rebase_source : d592d29e58a6834201053f91d23a53d9a723c75b
This commit is contained in:
Nicholas Hastings
2014-03-06 21:33:18 -05:00
parent 37658183bc
commit d1ec331ada
+4
View File
@@ -1830,7 +1830,11 @@ void CPlayer::Kick(const char *str)
else
{
IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler());
#if SOURCE_ENGINE == SE_CSGO
pClient->Disconnect(str);
#else
pClient->Disconnect("%s", str);
#endif
}
}