jak3: fix local space particle info crash (#3511)

This commit is contained in:
Hat Kid
2024-05-10 16:14:50 +02:00
committed by GitHub
parent 5b04be2fa0
commit 4dd2bab06e
4 changed files with 16 additions and 4 deletions
@@ -1266,7 +1266,11 @@
(s5-0 (-> (the-as connection v1-2) next0))
)
(while (!= v1-2 (-> gp-0 alive-list-end))
((the-as (function object) (-> (the-as connection v1-2) param0)))
(let ((a0-4 (the-as connection v1-2)))
((the-as (function particle-local-space-info object) (-> (the-as connection v1-2) param0))
(the-as particle-local-space-info a0-4)
)
)
(set! v1-2 s5-0)
(set! s5-0 (-> (the-as connection s5-0) next0))
)
@@ -3215,3 +3219,7 @@
(none)
)
)