diff --git a/source/core/gameinput.h b/source/core/gameinput.h index 46bc75dca..bbf7d4598 100644 --- a/source/core/gameinput.h +++ b/source/core/gameinput.h @@ -5,6 +5,7 @@ #include "interphelpers.h" #include "gamecvars.h" #include "gamestruct.h" +#include "gamefuncs.h" #include "packet.h" struct PlayerHorizon @@ -188,7 +189,7 @@ struct PlayerAngle { auto delta = deltaangle(ang, target).Degrees(); - if (abs(delta) > 1) + if (abs(delta) > BAngToDegree) { ang += DAngle::fromDeg(scaleAdjust * delta); }