Merge pull request #328 from BenCat07/patch-3

Fix followbot not jumping at all
This commit is contained in:
nullifiedcat 2018-01-12 23:07:28 +03:00 committed by GitHub
commit 77b3eba966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -785,7 +785,7 @@ void WalkTo(const Vector &vector)
{
// Check if the local player is not moving
if (CE_VECTOR(LOCAL_E, netvar.vVelocity).IsZero(1.0f))
if (CE_VECTOR(LOCAL_E, netvar.vVelocity).IsZero(3.5f))
{
// Set idle time if we havent already
if (!idle_time)
@ -802,7 +802,7 @@ void WalkTo(const Vector &vector)
}
else
{
idle_time = 0;
idle_time++;
}
}