jak-project/goal_src/jak2/engine/target/logic-target.gc
water111 b5d21be9c5
W/misc fixes (#1838)
* temp

* temp

* before cleaning up

* cleanup merge

* fix warnings

* merge fix

* clang format
2022-09-05 20:29:12 -04:00

18 lines
356 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: logic-target.gc
;; name in dgo: logic-target
;; dgos: ENGINE, GAME
;; DECOMP BEGINS
(defun stop ((arg0 symbol))
"Kill the target process, set the game mode to the specified mode."
(when *target*
(kill-by-name "target" *active-pool*)
(set! *target* #f)
)
(set! (-> *game-info* mode) arg0)
0
)