From 5eebdec84dc14d95e80f06ddfc9340fa081d95ed Mon Sep 17 00:00:00 2001 From: Indev Date: Sat, 24 Feb 2024 21:19:57 +0300 Subject: [PATCH] Don't need for long there, fixed_t is big enough --- src/k_kart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index f2036796d..fd6aecedf 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -8911,8 +8911,8 @@ static void K_GetScreenCoords(vector2_t *vec, player_t *player, camera_t *came, fixed_t fovratio; fixed_t offset; boolean srcflip; - long y; - long x; + fixed_t y; + fixed_t x; // In case of early return we can check if those are negative vec->x = -1;