Skip to content

Commit

Permalink
fix cloth disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
Hat-Kid committed Dec 2, 2024
1 parent 477cefb commit e17bb71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions goal_src/jak3/engine/common-obs/cloth-art-h.gc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@

(defmacro static-cloth-params (ag-name args)
`(let ((parms (new 'static 'cloth-params)))
(false! (-> parms alt-tex-name))
(false! (-> parms alt-tex-name2))
(false! (-> parms alt-tex-name3))
,@(apply (lambda (x) (if (and (eq? (car x) 'mesh) (not (integer? (cadr x))))
`(set! (-> parms ,(car x)) ,(art-elt-index ag-name (cadr x)))
`(set! (-> parms ,(car x)) ,(cadr x))
Expand Down

0 comments on commit e17bb71

Please sign in to comment.