mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
Fix for minimal mountain height drawing.
This commit is contained in:
+4
-1
@@ -239,7 +239,10 @@ MinCalculated
|
||||
lda xdraw
|
||||
and #%00000111 ; only every 8th pixel
|
||||
bne NotFillBytes
|
||||
; A=0 is here
|
||||
lda temp2
|
||||
cmp #screenheight+1 ; only if minimum is not miniminimum :)
|
||||
beq NotFillBytes
|
||||
|
||||
dec ydraw ; protection if temp2=screenheight
|
||||
@ lda #0
|
||||
sta (xbyte),y
|
||||
|
||||
Reference in New Issue
Block a user