From c8d9e4c7b3ab1f5ea60fe2e5615f17fe1e08c594 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 11 Feb 2024 09:22:59 +0100 Subject: [PATCH] add thiis --- src/r_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;