From bf42802763bdd4f3641b5ff83b15814a0c6549c8 Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Sat, 18 Apr 2026 20:57:09 +0200 Subject: [PATCH] regressions --- goal_src/jak3/engine/level/region.gc | 3 ++- goal_src/jak3/engine/physics/cloth.gc | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/goal_src/jak3/engine/level/region.gc b/goal_src/jak3/engine/level/region.gc index 558bdd1105..6fb86168d7 100644 --- a/goal_src/jak3/engine/level/region.gc +++ b/goal_src/jak3/engine/level/region.gc @@ -77,7 +77,8 @@ (let ((sv-32 (new 'stack 'vector2h)) (sv-36 (-> this bsphere)) ) - (add-debug-x #t (bucket-id debug-no-zbuf1) sv-36 (new 'static 'rgba :r #xff :g #xff :a #x80)) + ;; og:preserve-this + (add-debug-x #t (bucket-id debug-no-zbuf1) sv-36 (#if PC_PORT (region-enter-color #x80) (new 'static 'rgba :r #xff :g #xff :a #x80))) (when (nonzero? (-> this region)) (let ((s5-0 add-debug-text-3d) (s4-0 #t) diff --git a/goal_src/jak3/engine/physics/cloth.gc b/goal_src/jak3/engine/physics/cloth.gc index 4551e940de..2beeb96b13 100644 --- a/goal_src/jak3/engine/physics/cloth.gc +++ b/goal_src/jak3/engine/physics/cloth.gc @@ -276,6 +276,12 @@ (s2-0 583) ) (format (clear *temp-string*) "~d" s5-0) + ;; og:preserve-this added + (add-debug-sphere #t (the-as bucket-id s2-0) + (-> this particles data s5-0 pos) + (meters 0.02) + (static-rgba #x80 0 #x80 #x80) + ) (s4-0 s3-0 (the-as bucket-id s2-0)