additional fakeclient checks
This commit is contained in:
@@ -52,7 +52,6 @@ enum struct MapStageCategoryCvars
|
|||||||
int CvarsHash;
|
int CvarsHash;
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentMapClientRecords g_CurrentClientRaceZone[MAXPLAYERS +1];
|
|
||||||
ArrayList g_hCurrentMapClientRecords;
|
ArrayList g_hCurrentMapClientRecords;
|
||||||
enum struct CurrentMapClientRecords
|
enum struct CurrentMapClientRecords
|
||||||
{
|
{
|
||||||
@@ -64,6 +63,7 @@ enum struct CurrentMapClientRecords
|
|||||||
int recordedAt; // Unix timestamp - fetched via UNIX_TIMESTAMP(recorded_at)
|
int recordedAt; // Unix timestamp - fetched via UNIX_TIMESTAMP(recorded_at)
|
||||||
int categoryNumber;
|
int categoryNumber;
|
||||||
}
|
}
|
||||||
|
CurrentMapClientRecords g_CurrentClientRaceZone[MAXPLAYERS +1];
|
||||||
|
|
||||||
ArrayList g_hCurrentMapAllTopRecords;
|
ArrayList g_hCurrentMapAllTopRecords;
|
||||||
enum struct CurrentMapAllTopRecords
|
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)
|
public void unloze_zoneEntry(int client, char[] zone)
|
||||||
{
|
{
|
||||||
if (g_bClientsIgnoring[client])
|
if (g_bClientsIgnoring[client] || IsFakeClient(client))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -724,7 +724,7 @@ public void unloze_zoneEntry(int client, char[] zone)
|
|||||||
public void unloze_zoneLeave(int client, char[] zone)
|
public void unloze_zoneLeave(int client, char[] zone)
|
||||||
{
|
{
|
||||||
//only maps with multiple zones need ZONE_PREFIX_START
|
//only maps with multiple zones need ZONE_PREFIX_START
|
||||||
if (g_bClientsIgnoring[client])
|
if (g_bClientsIgnoring[client] || IsFakeClient(client))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user