Skip to content

Commit

Permalink
fix minimap icon misalign (#3481)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManDude authored Apr 23, 2024
1 parent 728cb4b commit d9d4cc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions goal_src/jak2/engine/ui/minimap.gc
Original file line number Diff line number Diff line change
Expand Up @@ -2472,8 +2472,8 @@
)
(let* ((a3-1 (+ (* (the-as uint 320) (-> arg1 class icon-xy x)) 8))
(t0-1 (+ (* (the-as uint 320) (-> arg1 class icon-xy y)) 8))
(a1-61 (+ a3-1 312))
(a2-14 (+ t0-1 312))
(a1-61 (+ a3-1 300)) ;; og:preserve-this fix icon misalign
(a2-14 (+ t0-1 300)) ;; og:preserve-this fix icon misalign
)
(set! (-> (the-as (pointer uint128) v1-115)) (-> this sprite-tmpl dma-vif quad))
(set! (-> (the-as (pointer uint128) v1-115) 1) (-> this sprite-tmpl quad 1))
Expand Down
4 changes: 2 additions & 2 deletions goal_src/jak3/engine/ui/minimap.gc
Original file line number Diff line number Diff line change
Expand Up @@ -3510,8 +3510,8 @@
)
(let* ((a3-1 (the int (+ (* (the-as uint 320) (-> arg1 class icon-xy x)) 8)))
(t0-1 (the int (+ (* (the-as uint 320) (-> arg1 class icon-xy y)) 8)))
(a1-65 (+ a3-1 312))
(a2-14 (+ t0-1 312))
(a1-65 (+ a3-1 300)) ;; og:preserve-this fix icon misalign
(a2-14 (+ t0-1 300)) ;; og:preserve-this fix icon misalign
)
(set! (-> (the-as (pointer uint128) v1-122) 0) (-> this sprite-tmpl dma-vif quad))
(set! (-> (the-as (pointer uint128) v1-122) 1) (-> this sprite-tmpl quad 1))
Expand Down

0 comments on commit d9d4cc5

Please sign in to comment.