Skip to content

Commit

Permalink
[jak3] Fix stack layout for car spawn (#3765)
Browse files Browse the repository at this point in the history
Fix for cars spawning under ground or in weird places

Co-authored-by: water111 <[email protected]>
  • Loading branch information
water111 and water111 authored Nov 16, 2024
1 parent 321a113 commit 5e3cb8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion decompiler/config/jak3/ntsc_v1/stack_structures.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@
[208, ["array", "uint32", 1]]
],
"(method 35 was-squad-control)": [
[16, ["inline-array", "matrix", 2]],
[16, ["inline-array", "matrix", 4]],
[240, "cquery-with-5vec"]
],
"(method 39 vehicle-wheel)": [[16, "rigid-body-move-work"]],
Expand Down
2 changes: 1 addition & 1 deletion goal_src/jak3/levels/desert/wvehicle/was-squad-control.gc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
)
)
(when s4-0
(let ((s5-1 (new 'stack-no-clear 'inline-array 'matrix 2)))
(let ((s5-1 (new 'stack-no-clear 'inline-array 'matrix 4)))
(let* ((s3-0 (-> s5-1 0))
(a2-0 (camera-matrix))
(v1-4 (-> a2-0 rvec quad))
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e3cb8f

Please sign in to comment.