Now shield is displayed on a tank without PM

Small bugfix.
This commit is contained in:
Pecusx
2022-06-08 14:40:29 +02:00
parent 7b86fc98cd
commit 4c6b56a1e2
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -690,6 +690,7 @@ ZeroesToGo
sta (xbyte),y sta (xbyte),y
dey dey
bne ClearPM bne ClearPM
NoPlayerMissile
; draw defensive weapons like shield ( tank number in X ) ; draw defensive weapons like shield ( tank number in X )
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char ; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
lda ActiveDefenceWeapon,x lda ActiveDefenceWeapon,x
@@ -697,7 +698,6 @@ ZeroesToGo
bne NoShieldDraw bne NoShieldDraw
jsr DrawTankShield jsr DrawTankShield
NoShieldDraw NoShieldDraw
NoPlayerMissile
DoNotDrawTankNr DoNotDrawTankNr
rts rts
.endp .endp
@@ -737,7 +737,7 @@ tankflash_loop
dec color dec color
ShieldVisible ShieldVisible
sbw xdraw #$03 ; 3 pixels to left sbw xdraw #$03 ; 3 pixels to left
; draw left vertical line of scheld ( | ) ; draw left vertical line of shield ( | )
mva #6 temp ; strange !!! mva #6 temp ; strange !!!
@ @
jsr plot jsr plot
BIN
View File
Binary file not shown.