mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
jak3: fix local space particle info crash (#3511)
This commit is contained in:
@@ -4309,7 +4309,7 @@
|
||||
[6, "v1", "connection"],
|
||||
[9, "v1", "connection"],
|
||||
[10, "v1", "connection"],
|
||||
[11, "t9", "(function object)"],
|
||||
[11, "t9", "(function particle-local-space-info object)"],
|
||||
[15, "s5", "connection"],
|
||||
[[29, 34], "a1", "particle-local-space-info"]
|
||||
],
|
||||
|
||||
@@ -265,7 +265,7 @@ void OpenGLRenderer::init_bucket_renderers_jak3() {
|
||||
GET_BUCKET_ID_FOR_LIST(BucketId::MERC_L0_PRIS2, BucketId::MERC_L1_PRIS2, i), m_merc2);
|
||||
init_bucket_renderer<Generic2BucketRenderer>(
|
||||
fmt::format("gmerc-l{}-pris2", i), BucketCategory::GENERIC,
|
||||
GET_BUCKET_ID_FOR_LIST(BucketId::GMERC_L0_PRIS, BucketId::GMERC_L1_PRIS, i), m_generic2,
|
||||
GET_BUCKET_ID_FOR_LIST(BucketId::GMERC_L0_PRIS2, BucketId::GMERC_L1_PRIS2, i), m_generic2,
|
||||
Generic2::Mode::NORMAL);
|
||||
}
|
||||
|
||||
|
||||
@@ -920,7 +920,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))
|
||||
)
|
||||
|
||||
Generated
Vendored
+9
-1
@@ -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)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user