Self-destruction of shielded tank at angle 0. fixed!

This commit is contained in:
Pecusx
2022-11-22 19:38:25 +01:00
parent 05a289ffea
commit d9da258735
4 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -2928,15 +2928,15 @@ CheckCollisionWithTankLoop
cmp ydraw
bcs OverTheTank
; with or without shield ?
/*
lda ActiveDefenceWeapon,x
cmp #ind_Mag_Deflector__ ; first shielded weapon
bcc CheckCollisionWithNotShieldedTank
cmp #ind_Bouncy_Castle__+1 ; last shielded weapon
bcs CheckCollisionWithShieldedTank ; tank with shield is bigger :)
*/
lda ShieldEnergy,x ; there is wrong method to check shield :)
bne CheckCollisionWithShieldedTank ; tank with shield is bigger :)
bcc CheckCollisionWithShieldedTank ; tank with shield is bigger :)
;lda ShieldEnergy,x ; there is wrong method to check shield :)
;bne CheckCollisionWithShieldedTank ; tank with shield is bigger :)
CheckCollisionWithNotShieldedTank
lda xtankstableH,x