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
dey
bne ClearPM
NoPlayerMissile
; draw defensive weapons like shield ( tank number in X )
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
lda ActiveDefenceWeapon,x
@@ -697,7 +698,6 @@ ZeroesToGo
bne NoShieldDraw
jsr DrawTankShield
NoShieldDraw
NoPlayerMissile
DoNotDrawTankNr
rts
.endp
@@ -737,7 +737,7 @@ tankflash_loop
dec color
ShieldVisible
sbw xdraw #$03 ; 3 pixels to left
; draw left vertical line of scheld ( | )
; draw left vertical line of shield ( | )
mva #6 temp ; strange !!!
@
jsr plot