Skip to content

Commit

Permalink
eggs no in wall
Browse files Browse the repository at this point in the history
  • Loading branch information
Zedb0T committed Dec 14, 2023
1 parent 03c923d commit 996e2b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions goal_src/jak2/engine/entity/entity.gc
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,7 @@
(define-extern elevator type)
(define-extern liftcat type)
(define-extern piston type)
(define-extern drill-metalhead-eggs type)


;; WARN: Return type mismatch process-drawable vs none.
Expand Down Expand Up @@ -2003,6 +2004,12 @@
(set! (-> arg0 root scale z) (rand-vu-float-range 1.1 2.0))
)

((drill-metalhead-eggs)
(set! (-> arg0 root scale x) (rand-vu-float-range 1.1 2.0))
(set! (-> arg0 root scale y) (rand-vu-float-range 1.1 2.0))
(set! (-> arg0 root scale z) (rand-vu-float-range 1.1 2.0))
)

(else
(set! (-> arg0 root scale x) (rand-vu-float-range -1.0 4.0))
(set! (-> arg0 root scale y) (rand-vu-float-range -1.0 4.0))
Expand Down

0 comments on commit 996e2b2

Please sign in to comment.