mirror of
https://github.com/rehlds/rehlds.git
synced 2025-02-05 18:20:45 +03:00
add comments
This commit is contained in:
parent
a4909aca6d
commit
49cbbeafb2
@ -505,9 +505,9 @@ void SV_DropClient(client_t *cl, qboolean crash, const char *fmt, ...)
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
// prevent message reading after disconnect
|
||||
if (cl == host_client )
|
||||
if (cl == host_client)
|
||||
msg_readcount = net_message.cursize;
|
||||
#endif // REHLDS_CHECKS
|
||||
#endif // REHLDS_FIXES
|
||||
|
||||
Netchan_Clear(&cl->netchan);
|
||||
|
||||
|
@ -273,11 +273,13 @@ qboolean Info_IsKeyImportant(const char *key)
|
||||
if (!Q_strcmp(key, "cl_lc"))
|
||||
return true;
|
||||
#ifndef REHLDS_FIXES
|
||||
// keys starts from '*' already checked
|
||||
if (!Q_strcmp(key, "*hltv"))
|
||||
return true;
|
||||
if (!Q_strcmp(key, "*sid"))
|
||||
return true;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user