minor minor for deathstar
This commit is contained in:
parent
741afc5d3e
commit
0ab0414f53
@ -202,9 +202,9 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3
|
||||
float client_gravity = GetEntityGravity(client);
|
||||
ConVar gravity = FindConVar("sv_gravity");
|
||||
float gravityFloat = gravity.FloatValue;
|
||||
int minimalPermitedGravity = 650;
|
||||
int minimalPermitedGravity = 610;
|
||||
//PrintToChat(client, "client_gravity: %f\ngravityFloat: %f", client_gravity, gravityFloat);
|
||||
if (!(client_gravity == 1.0 || client_gravity == 0.0000) || gravityFloat < minimalPermitedGravity)
|
||||
if ((client_gravity > 1.3 || client_gravity < 0.8000) || gravityFloat < minimalPermitedGravity)
|
||||
{
|
||||
g_bHumansAllowedTime[client] = false;
|
||||
resetClientVectors(client);
|
||||
|
Loading…
Reference in New Issue
Block a user