Merge pull request #899 from Nairdaa/patch-2

scroll perf ratio fix - removed the debug lines
This commit is contained in:
kidfearless 2020-04-24 13:15:02 -06:00 committed by GitHub
commit 55729fefb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3057,12 +3057,12 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3
else if(!bOnGround && gA_Timers[client].bOnGround && gA_Timers[client].bJumped)
{
int iDifference = (gI_TickCount - gA_Timers[client].iLandingTick);
if(1 <= iDifference <= 8)
if(0 <= iDifference <= 10)
{
gA_Timers[client].iMeasuredJumps++;
if(iDifference == 1)
if(iDifference <= 1)
{
gA_Timers[client].iPerfectJumps++;
}