| author | Nicholas Hastings <skamonkey@gmail.com> |
| Sat Jul 13 13:58:47 2013 -0400 (2013-07-13) | |
| changeset 3944 | 86d78f0e7a1c |
| parent 3943 | 55f0584a7eda |
| child 3945 | da8ce892f99d |
1.1 --- a/core/PlayerManager.cpp Sat Jul 13 13:58:47 2013 -0400 1.2 +++ b/core/PlayerManager.cpp Sat Jul 13 13:58:47 2013 -0400 1.3 @@ -2116,7 +2116,11 @@ 1.4 else 1.5 { 1.6 IClient *pClient = static_cast<IClient *>(pNetChan->GetMsgHandler()); 1.7 +#if SOURCE_ENGINE == SE_DOTA 1.8 + pClient->Disconnect(str); 1.9 +#else 1.10 pClient->Disconnect("%s", str); 1.11 +#endif 1.12 } 1.13 } 1.14