mirror of
https://github.com/open-goal/jak-project
synced 2026-09-04 02:29:37 -04:00
[decomp] memory usage (#945)
* fix type bug for memory-usage * avoid name conflict in link method and function
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
(new (symbol type process) _type_ 0)
|
||||
(get-matching-actor-type-mask (_type_ type) int 9)
|
||||
(actor-count-before (_type_) int 10)
|
||||
(link (_type_) entity-actor 11)
|
||||
(link-to-next-and-prev-actor (_type_) entity-actor 11)
|
||||
(get-next (_type_) entity-actor 12)
|
||||
(get-prev (_type_) entity-actor 13)
|
||||
(get-next-process (_type_) process 14)
|
||||
@@ -134,7 +134,7 @@
|
||||
)
|
||||
|
||||
;; definition for method 11 of type actor-link-info
|
||||
(defmethod link actor-link-info ((obj actor-link-info))
|
||||
(defmethod link-to-next-and-prev-actor actor-link-info ((obj actor-link-info))
|
||||
(let ((a0-1 (-> obj process entity)))
|
||||
(set! (-> obj next) (entity-actor-lookup a0-1 'next-actor 0))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user