Make jungle mirrors respect first person camera settings (#2112)

QoL, I suppose
This commit is contained in:
EvelynTSMG 2023-01-12 00:16:27 +01:00 committed by GitHub
parent 416950a166
commit 22adecc222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -654,7 +654,8 @@
(when (not (or (paused?) (-> (the-as periscope (-> self change-event-from 0)) aligned?)))
(vector-reset! s5-0)
(when *camera-read-analog*
(let ((f26-0 (analog-input
;; Mirror controls changed to respect PC Port settings
(let ((f26-0 (analog-input-horizontal-first
(the-as int (+ (-> *cpad-list* cpads 0 rightx) -256 (-> *cpad-list* cpads 0 leftx)))
0.0
48.0
@ -662,7 +663,7 @@
-1.0
)
)
(f0-0 (analog-input
(f0-0 (analog-input-vertical-first
(the-as int (+ (-> *cpad-list* cpads 0 righty) -256 (-> *cpad-list* cpads 0 lefty)))
0.0
48.0