mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Self-destruction of shielded tank at angle 0. fixed!
This commit is contained in:
+5
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user