Merge pull request #328 from BenCat07/patch-3
Fix followbot not jumping at all
This commit is contained in:
commit
77b3eba966
@ -785,7 +785,7 @@ void WalkTo(const Vector &vector)
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Check if the local player is not moving
|
// 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
|
// Set idle time if we havent already
|
||||||
if (!idle_time)
|
if (!idle_time)
|
||||||
@ -802,7 +802,7 @@ void WalkTo(const Vector &vector)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
idle_time = 0;
|
idle_time++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user