Skip to content

Commit 694a8c1

Browse files
Updated rigid-body-queue.gc
1 parent 5ac5b6a commit 694a8c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

goal_src/jak3/engine/physics/rigid-body-queue.gc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
(let ((s2-0 (-> (the-as process-focusable s3-0) rbody)))
7474
(when (and (logtest? (-> s2-0 flags) (rigid-body-flag enable-physics))
7575
(not (logtest? s4-0 (-> s3-0 mask)))
76-
(and (< 0.001 (-> s2-0 time-remaining)) (< (-> s2-0 step-count) 4))
76+
(and (< (/ (seconds-per-frame) 20.0) (-> s2-0 time-remaining))
77+
(< (-> s2-0 step-count) 4))
7778
)
7879
(let ((s1-0 pp))
7980
(set! pp s3-0)

0 commit comments

Comments
 (0)