mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
jak2: tomb fixes (#2137)
This commit is contained in:
parent
7d7625f4f8
commit
9889b638b3
|
@ -1345,6 +1345,11 @@
|
|||
;; name
|
||||
(set! (-> lev nickname) (the-as string (-> lev bsp nickname)))
|
||||
|
||||
;; added: tombc has the wrong nickname in the bsp file...
|
||||
(if (and (= (-> lev bsp name) 'tombc) (= (-> lev bsp nickname) 'toa))
|
||||
(set! (-> lev nickname) (the-as string 'toc))
|
||||
)
|
||||
|
||||
;; subdivide distances
|
||||
(let ((close-dist (-> lev bsp subdivide-close))
|
||||
(far-dist (-> lev bsp subdivide-far))
|
||||
|
|
|
@ -1162,6 +1162,7 @@ This commonly includes things such as:
|
|||
- collision information
|
||||
- loading the skeleton group / bones
|
||||
- sounds"
|
||||
(stack-size-set! (-> obj main-thread) 1024)
|
||||
(let ((s5-0 (new 'process 'collide-shape obj (collide-list-enum usually-hit-by-player))))
|
||||
(set! (-> s5-0 penetrated-by) (penetrate))
|
||||
(let ((s4-0 (new 'process 'collide-shape-prim-group s5-0 (the-as uint 2) 0)))
|
||||
|
@ -1265,6 +1266,7 @@ This commonly includes things such as:
|
|||
- collision information
|
||||
- loading the skeleton group / bones
|
||||
- sounds"
|
||||
(stack-size-set! (-> obj main-thread) 1024)
|
||||
(let ((s5-0 (new 'process 'collide-shape obj (collide-list-enum usually-hit-by-player))))
|
||||
(set! (-> s5-0 penetrated-by) (penetrate))
|
||||
(let ((s4-0 (new 'process 'collide-shape-prim-group s5-0 (the-as uint 3) 0)))
|
||||
|
|
Loading…
Reference in a new issue