mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Very rare distance measuring bug fixed.
Sometimes a perfectly hit tank still lived.
This commit is contained in:
+6
-1
@@ -140,8 +140,13 @@ LineParametersReady
|
|||||||
ora DX+1
|
ora DX+1
|
||||||
ora DY
|
ora DY
|
||||||
ora DY+1
|
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
|
; here we have DX,DY,XK and we know which operations
|
||||||
; are to be performed with these factors when doing PLOT
|
; are to be performed with these factors when doing PLOT
|
||||||
; (accordingly to given bits of 'HowToDraw')
|
; (accordingly to given bits of 'HowToDraw')
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user