From 2cefb00b5dc8e1328f6e1c8a41feb0cf0e3dc010 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 9b07d8d79..6ebe691a9 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -8923,8 +8923,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;