mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 15:31:11 +00:00
- Make scaletozero()
static again within gameinput.cpp.
This commit is contained in:
parent
05cb6563f3
commit
175f858047
2 changed files with 1 additions and 2 deletions
|
@ -64,7 +64,7 @@ static inline DAngle getscaledangle(const DAngle angle, const double scale, cons
|
||||||
return (angle.Normalized180() * getTicrateScale(scale)) + DAngle::fromDeg(push);
|
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();
|
const auto sgn = angle.Sgn();
|
||||||
|
|
||||||
|
|
|
@ -174,4 +174,3 @@ extern GameInput gameInput;
|
||||||
class FSerializer;
|
class FSerializer;
|
||||||
FSerializer& Serialize(FSerializer& arc, const char* keyname, PlayerAngles& w, PlayerAngles* def);
|
FSerializer& Serialize(FSerializer& arc, const char* keyname, PlayerAngles& w, PlayerAngles* def);
|
||||||
void processCrouchToggle(bool& toggle, ESyncBits& actions, const bool crouchable, const bool disabletoggle);
|
void processCrouchToggle(bool& toggle, ESyncBits& actions, const bool crouchable, const bool disabletoggle);
|
||||||
bool scaletozero(DAngle& angle, const double scale, const double push = (7646143. / 110386328.));
|
|
||||||
|
|
Loading…
Reference in a new issue