From 48141bee6f2c8e2792fe74dba56299817b299d6a Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Tue, 30 May 2023 01:31:07 +0200 Subject: [PATCH] jak2: fix `pegasus` crash (#2676) --- goal_src/jak2/levels/forest/pegasus.gc | 1 + 1 file changed, 1 insertion(+) diff --git a/goal_src/jak2/levels/forest/pegasus.gc b/goal_src/jak2/levels/forest/pegasus.gc index e5a831c024..c14282a25b 100644 --- a/goal_src/jak2/levels/forest/pegasus.gc +++ b/goal_src/jak2/levels/forest/pegasus.gc @@ -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)