Updated the SDK with the latest code from the TF and HL2 branches.
This commit is contained in:
@@ -1864,7 +1864,7 @@ float ChangeDistance( float flInterval, float flGoalDistance, float flGoalVeloci
|
||||
// I need to speed up
|
||||
flNewVelocity = flCurVelocity + flGoalAccel * flInterval;
|
||||
if (flNewVelocity > flGoalVelocity)
|
||||
flGoalVelocity = flGoalVelocity;
|
||||
flNewVelocity = flGoalVelocity;
|
||||
}
|
||||
else if (flNewVelocity < flIdealVelocity)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user