Very rare distance measuring bug fixed.

Sometimes a perfectly hit tank still lived.
This commit is contained in:
Pecusx
2023-01-20 14:40:54 +01:00
parent ef1c0dc62c
commit b18793014d
3 changed files with 6 additions and 1 deletions
+6 -1
View File
@@ -140,8 +140,13 @@ LineParametersReady
ora DX+1
ora DY
ora DY+1
jeq EndOfDraw
bne NotOnePoint
; length=0
sta LineLength
sta LineLength+1
jmp EndOfDraw
NotOnePoint
; here we have DX,DY,XK and we know which operations
; are to be performed with these factors when doing PLOT
; (accordingly to given bits of 'HowToDraw')
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.