Update CPlayer::Kick for hl2sdk-csgo IClient changes.
--HG-- extra : rebase_source : d592d29e58a6834201053f91d23a53d9a723c75b
This commit is contained in:
		
							parent
							
								
									37658183bc
								
							
						
					
					
						commit
						d1ec331ada
					
				@ -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
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user