From 8565ddfbdd355c178e00fda93ba0672525793012 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 16 Aug 2026 21:02:16 +0200 Subject: [PATCH] Fixed mirror world hud alignment. (#4373) This PR fixes the hud icon positions in mirror world, resolving #4362. Now the orb and skull-gem icons are correctly positioned on the left whether or not mirror world is active. Normal: Screenshot from 2026-08-03
13-01-26 Screenshot from 2026-08-03
13-05-17 Mirror world: Screenshot from 2026-08-03
12-59-31 Screenshot from 2026-08-03
13-05-35 Closes #4362 --- goal_src/jak3/engine/ui/hud.gc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/goal_src/jak3/engine/ui/hud.gc b/goal_src/jak3/engine/ui/hud.gc index 202a30609d..5f8be12829 100644 --- a/goal_src/jak3/engine/ui/hud.gc +++ b/goal_src/jak3/engine/ui/hud.gc @@ -726,11 +726,10 @@ (-> this icons s5-1 scale-y) (* (-> this icons s5-1 scale-x) (-> *video-params* relative-x-scale)) 1.0 - ) - (if (get-horizontal-flip-flag *blit-displays-work*) - (set! (-> this icons s5-1 icon 0 root trans x) (the float (- 256 (-> this icons s5-1 pos x)))) - (set! (-> this icons s5-1 icon 0 root trans x) (the float (+ (-> this icons s5-1 pos x) -256))) - ) + ) + ;; og:preserve-this Corrected mirror world hud alignment + (set! (-> this icons s5-1 icon 0 root trans x) (the float (- 256 (-> this icons s5-1 pos x)))) + (set! (-> this icons s5-1 icon 0 root trans x) (the float (+ (-> this icons s5-1 pos x) -256))) (set! (-> this icons s5-1 icon 0 root trans y) (the float (* (+ (-> this icons s5-1 pos y) -208) 2))) (set! (-> this icons s5-1 icon 0 root trans z) (the float (-> this icons s5-1 pos z))) )