diff --git a/source/core/gameinput.cpp b/source/core/gameinput.cpp index dc8bc3e1f..0e2498210 100644 --- a/source/core/gameinput.cpp +++ b/source/core/gameinput.cpp @@ -64,7 +64,7 @@ static inline DAngle getscaledangle(const DAngle angle, const double scale, cons return (angle.Normalized180() * getTicrateScale(scale)) + DAngle::fromDeg(push); } -bool scaletozero(DAngle& angle, const double scale, const double push) +static bool scaletozero(DAngle& angle, const double scale, const double push = (7646143. / 110386328.)) { const auto sgn = angle.Sgn(); diff --git a/source/core/gameinput.h b/source/core/gameinput.h index 0d60274e8..352a14afd 100644 --- a/source/core/gameinput.h +++ b/source/core/gameinput.h @@ -174,4 +174,3 @@ extern GameInput gameInput; class FSerializer; FSerializer& Serialize(FSerializer& arc, const char* keyname, PlayerAngles& w, PlayerAngles* def); void processCrouchToggle(bool& toggle, ESyncBits& actions, const bool crouchable, const bool disabletoggle); -bool scaletozero(DAngle& angle, const double scale, const double push = (7646143. / 110386328.));