fix broken offline tests

This commit is contained in:
water 2021-05-12 19:53:07 -04:00
parent 129ab54fd4
commit ea2a6613e0
2 changed files with 4 additions and 1 deletions

View file

@ -553,3 +553,6 @@
(declare-type sidekick basic)
(define-extern *sidekick* sidekick)
;; mood tables
(declare-type ocean-map basic)
(define-extern *ocean-map-village2* ocean-map)

View file

@ -398,7 +398,7 @@
(set! (-> v1-0 x) (- (-> arg0 direction x)))
(set! (-> v1-0 y) (- (-> arg0 direction y)))
(set! (-> v1-0 z) (- (-> arg0 direction z)))
(if (< (-> arg0 direction y) 0.9063)
(when (< (-> arg0 direction y) 0.9063)
(let* ((f0-7 0.4226)
(f1-1 (-> v1-0 x))
(f1-3 (* f1-1 f1-1))