[jak2] fix music player option (#3323)

This commit is contained in:
ManDude 2024-01-20 23:28:21 +00:00 committed by GitHub
parent 1c0038294f
commit 076f8aa6dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1623,6 +1623,7 @@
(defmethod draw-option ((this menu-unlocked-menu-option) (arg0 progress) (arg1 font-context) (arg2 int) (arg3 symbol))
(let ((secrets (memcard-unlocked-secrets? #t))
(cheats (-> *pc-settings* cheats-unlocked))
(alpha (* 2.0 (- 0.5 (-> arg0 menu-transition))))
)
(if (< alpha 0.0)
@ -1687,7 +1688,7 @@
(print-game-text locked-text arg1 #f 44 (bucket-id progress)))
)
(((text-id progress-music-player))
(if (pc-cheats? (-> *pc-settings* cheats) music-player)
(if (pc-cheats? cheats music-player)
(print-game-text available-text arg1 #f 44 (bucket-id progress))
(print-game-text locked-text arg1 #f 44 (bucket-id progress)))
)