mirror of
https://github.com/open-goal/jak-project
synced 2026-07-27 06:45:56 -04:00
jak2: fix pegasus crash (#2676)
This commit is contained in:
@@ -1238,6 +1238,7 @@ The faster it's moving the fast it flaps it's wings, etc
|
||||
|
||||
(defmethod init-enemy-collision! pegasus ((obj pegasus))
|
||||
"Initializes the [[collide-shape-moving]] and any ancillary tasks to make the enemy collide properly"
|
||||
(stack-size-set! (-> obj main-thread) 512) ;; added
|
||||
(let ((cshape (new 'process 'collide-shape-moving obj (collide-list-enum usually-hit-by-player))))
|
||||
(set! (-> cshape dynam) (copy *standard-dynamics* 'process))
|
||||
(set! (-> cshape reaction) cshape-reaction-default)
|
||||
|
||||
Reference in New Issue
Block a user