mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 23:01:56 -04:00
Fix Bombbot crash (#2296)
This commit is contained in:
@@ -43259,7 +43259,6 @@
|
||||
:size-assert #x59c
|
||||
:flag-assert #xb90520059c
|
||||
(:methods
|
||||
(kill-prefer-falling () symbol :replace 73)
|
||||
(explode () _type_ :state 178)
|
||||
(bombbot-method-179 (_type_) none 179)
|
||||
(bombbot-method-180 (_type_) none 180)
|
||||
|
||||
@@ -577,7 +577,6 @@
|
||||
:size-assert #x59c
|
||||
:flag-assert #xb90520059c
|
||||
(:methods
|
||||
(kill-prefer-falling () symbol :replace 73)
|
||||
(explode () _type_ :state 178)
|
||||
(bombbot-method-179 (_type_) none 179)
|
||||
(bombbot-method-180 (_type_) none 180)
|
||||
@@ -1308,7 +1307,7 @@
|
||||
(cond
|
||||
((zero? (-> obj hit-points))
|
||||
(if (not (and (-> obj next-state) (= (-> obj next-state name) 'die)))
|
||||
((method-of-object obj kill-prefer-falling))
|
||||
(kill-prefer-falling obj)
|
||||
)
|
||||
)
|
||||
(else
|
||||
|
||||
+1
-2
@@ -623,7 +623,6 @@
|
||||
:size-assert #x59c
|
||||
:flag-assert #xb90520059c
|
||||
(:methods
|
||||
(kill-prefer-falling () symbol :replace 73)
|
||||
(explode () _type_ :state 178)
|
||||
(bombbot-method-179 (_type_) none 179)
|
||||
(bombbot-method-180 (_type_) none 180)
|
||||
@@ -1437,7 +1436,7 @@
|
||||
(cond
|
||||
((zero? (-> obj hit-points))
|
||||
(if (not (and (-> obj next-state) (= (-> obj next-state name) 'die)))
|
||||
((method-of-object obj kill-prefer-falling))
|
||||
(kill-prefer-falling obj)
|
||||
)
|
||||
)
|
||||
(else
|
||||
|
||||
Reference in New Issue
Block a user