diff --git a/src/r_main.c b/src/r_main.c index 628e92aaa..14530aa5d 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -437,7 +437,7 @@ angle_t R_PointToAngle2(fixed_t pviewx, fixed_t pviewy, fixed_t x, fixed_t y) 0; } -angle_t R_PointToPseudoAngle (fixed_t x, fixed_t y) +FUNCINLINE ATTRINLINE angle_t R_PointToPseudoAngle (fixed_t x, fixed_t y) { // Note: float won't work here as it's less precise than the BAM values being passed as parameters double vecx = (double)x - viewx;