Fixed prestrafe limit being wrong.

290 is apparently the accepted absolute maximum, so yeah.
This commit is contained in:
shavit 2017-12-30 03:21:17 +02:00
parent 16cc4caea2
commit fd06555188

View File

@ -1249,7 +1249,7 @@ void StartTimer(int client, int track)
float fSpeed[3];
GetEntPropVector(client, Prop_Data, "m_vecVelocity", fSpeed);
if(!gB_NoZAxisSpeed || gA_StyleSettings[gBS_Style[client]][bPrespeed] || (fSpeed[2] == 0.0 && SquareRoot(Pow(fSpeed[0], 2.0) + Pow(fSpeed[1], 2.0)) <= 280.0))
if(!gB_NoZAxisSpeed || gA_StyleSettings[gBS_Style[client]][bPrespeed] || (fSpeed[2] == 0.0 && SquareRoot(Pow(fSpeed[0], 2.0) + Pow(fSpeed[1], 2.0)) <= 290.0))
{
gI_Strafes[client] = 0;
gI_Jumps[client] = 0;