From 0ab0414f530083ed1d7c772ae834dc0a2a5cbb05 Mon Sep 17 00:00:00 2001 From: jenzur Date: Wed, 24 Jul 2019 01:49:47 +0200 Subject: [PATCH] minor minor for deathstar --- RaceTimer/scripting/unloze_racetimer_redux.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RaceTimer/scripting/unloze_racetimer_redux.sp b/RaceTimer/scripting/unloze_racetimer_redux.sp index ef8661f7..ce069813 100644 --- a/RaceTimer/scripting/unloze_racetimer_redux.sp +++ b/RaceTimer/scripting/unloze_racetimer_redux.sp @@ -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);