From 5b7fff0e7dc67b1e3e8a8d40a53ad6f39ee40adb Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 20 Jul 2024 15:20:19 -0400 Subject: [PATCH] g/j1: hide borders in first-person camera when using non-standard aspect ratio --- goal_src/jak1/engine/target/target2.gc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/goal_src/jak1/engine/target/target2.gc b/goal_src/jak1/engine/target/target2.gc index dbf48d91ef..1f3cedc7aa 100644 --- a/goal_src/jak1/engine/target/target2.gc +++ b/goal_src/jak1/engine/target/target2.gc @@ -185,7 +185,9 @@ (the float (+ (the int (-> this particles s5-0 pos y)) 2048)) (- (-> *math-camera* hvdf-off z) (* 1024.0 (-> this particles s5-0 pos z))) (-> *math-camera* hvdf-off w))) - (spawn (-> this particles s5-0 part) *null-vector*)) + ;; og:preserve-this Positioning of first person hud sprites + (when (or (-> *pc-settings* use-vis?) (= s5-0 2)) + (spawn (-> this particles s5-0 part) *null-vector*))) 0 (none))