From 010a6851bf8e24c6f86410a86c22fbfdb2a40dde Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 27 Oct 2022 08:21:33 +1000 Subject: [PATCH] Fix excessive float usage in sightDrawZoom --- src/game/sight.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/sight.c b/src/game/sight.c index 876d1682f..cb8d2a341 100644 --- a/src/game/sight.c +++ b/src/game/sight.c @@ -1162,10 +1162,10 @@ Gfx *sightDrawZoom(Gfx *gdl, bool sighton) s32 availableright; f32 zoominfovy; f32 frac; - f32 marginright; - f32 margintop; - f32 marginbottom; - f32 marginleft; + s32 marginright; + s32 margintop; + s32 marginbottom; + s32 marginleft; s32 cornerwidth; s32 cornerheight; s32 weaponnum;