From 810db26bf4e393061336803e0ac905b989d04522 Mon Sep 17 00:00:00 2001 From: Phnod Date: Fri, 1 Sep 2023 10:07:15 -0400 Subject: [PATCH] fix: undo regression with previous cleanup, horizon scanner previously showed the wrong zoom level relative to FOV change --- src/game/bondview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/bondview.c b/src/game/bondview.c index bed52d33a..71e0a5403 100644 --- a/src/game/bondview.c +++ b/src/game/bondview.c @@ -2377,7 +2377,7 @@ Gfx *bviewDrawHorizonScanner(Gfx *gdl) if (fovy == 0 || fovy == 60.0f) { fovy = 1; } else { - fovy = 60.0f / ADJUST_ZOOM_FOV(fovy); + fovy = ADJUST_ZOOM_FOV(60.0f) / fovy; } sprintf(zoomtext, "%s %s%s%4.2fX", arrows, "", "", fovy);