mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Minor weapons list bug fixed
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
-2
@@ -366,7 +366,7 @@ AfterPurchase
|
||||
cmp IndexesOfWeaponsL1,y
|
||||
beq ?weaponfound
|
||||
iny
|
||||
cpy #(last_offensive_____ - first_offensive____) ; maxOffensiveWeapons
|
||||
cpy #(last_offensive_____ - first_offensive____)+1 ; maxOffensiveWeapons
|
||||
bne @-
|
||||
; not found apparently?
|
||||
; TODO: check border case (the last weapon)
|
||||
@@ -957,7 +957,7 @@ DefActivationEnd
|
||||
cmp IndexesOfWeaponsL2,y
|
||||
beq ?weaponfound
|
||||
iny
|
||||
cpy #(last_defensive_____ - first_defensive____) ; maxDefensiveWeapon
|
||||
cpy #(last_defensive_____ - first_defensive____)+1 ; maxDefensiveWeapon
|
||||
bne @-
|
||||
; not found apparently?
|
||||
; TODO: check border case (the last weapon)
|
||||
|
||||
Reference in New Issue
Block a user