Index of hit tank in HitFlag

For future use.
Easier to check whether the hit tank or ground.
This commit is contained in:
Pecusx
2022-06-09 18:06:31 +02:00
parent 53e9f89012
commit 1b983b8d92
4 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ MaxWind .ds 1 ;
WindOrientation .DS 1 ;(0-right,1-left)
;----------------------------------------------------
Counter .DS 1 ;temporary Counter for outside loops
HitFlag .DS 1 ;1 when missile hit anything
HitFlag .DS 1 ;$ff when missile hit ground, $00 when no hit, $01-$06 tank index+1 when hit tank
;----------------------------------------------------
xtankstableL ;X positions of tanks (lower left point)
.DS [MaxPlayers]