g/j1: hide borders in first-person camera when using non-standard aspect ratio

This commit is contained in:
Tyler Wilding 2024-07-20 15:20:19 -04:00
parent 65d58c428c
commit 5b7fff0e7d
No known key found for this signature in database
GPG Key ID: BF7B068C2FEFD7EF

View File

@ -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))