mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Aligning.
This commit is contained in:
parent
0ca5b5ae35
commit
c90d3184ea
@ -129,15 +129,17 @@ void HNET_PrintFunc(const char* fmt, ...)
|
||||
//-----------------------------------------------------------------------------
|
||||
void NET_DisconnectClient(CClient* pClient, int nIndex, const char* szReason, uint8_t unk1, char unk2)
|
||||
{
|
||||
if (!pClient) // Client valid?
|
||||
if (!pClient) // Client valid?
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (std::strlen(szReason) == NULL) // Is reason null?
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!pClient->GetNetChan())
|
||||
|
||||
if (!pClient->GetNetChan()) // NC even existent?
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user