additional fakeclient checks

This commit is contained in:
jenz
2026-10-14 15:34:54 +02:00
parent dd44cb5e49
commit c689b4094d
@@ -52,7 +52,6 @@ enum struct MapStageCategoryCvars
int CvarsHash;
}
CurrentMapClientRecords g_CurrentClientRaceZone[MAXPLAYERS +1];
ArrayList g_hCurrentMapClientRecords;
enum struct CurrentMapClientRecords
{
@@ -64,6 +63,7 @@ enum struct CurrentMapClientRecords
int recordedAt; // Unix timestamp - fetched via UNIX_TIMESTAMP(recorded_at)
int categoryNumber;
}
CurrentMapClientRecords g_CurrentClientRaceZone[MAXPLAYERS +1];
ArrayList g_hCurrentMapAllTopRecords;
enum struct CurrentMapAllTopRecords
@@ -688,7 +688,7 @@ public bool checkClientOrigin(float oldVals[3], float newVals[3], int client)
//----------------------------------------------------------------------------------------------------
public void unloze_zoneEntry(int client, char[] zone)
{
if (g_bClientsIgnoring[client])
if (g_bClientsIgnoring[client] || IsFakeClient(client))
{
return;
}
@@ -724,7 +724,7 @@ public void unloze_zoneEntry(int client, char[] zone)
public void unloze_zoneLeave(int client, char[] zone)
{
//only maps with multiple zones need ZONE_PREFIX_START
if (g_bClientsIgnoring[client])
if (g_bClientsIgnoring[client] || IsFakeClient(client))
{
return;
}