2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-02-05 18:20:45 +03:00

add comments

This commit is contained in:
Andrey 2015-05-06 01:56:48 +03:00
parent a4909aca6d
commit 49cbbeafb2
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}