diff --git a/source/core/gameinput.h b/source/core/gameinput.h index 777f38e6d..8132d6e31 100644 --- a/source/core/gameinput.h +++ b/source/core/gameinput.h @@ -164,7 +164,7 @@ struct PlayerAngle binangle interpolatedsum(double const smoothratio) { - double const ratio = smoothratio / FRACUNIT; + double const ratio = smoothratio * (1. / FRACUNIT); uint32_t const dang = UINT32_MAX >> 1; int64_t const prev = oang.asbam() + olook_ang.asbam(); int64_t const curr = ang.asbam() + look_ang.asbam();