mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Fix for minimal mountain height drawing.
This commit is contained in:
+10
-2
@@ -1539,9 +1539,10 @@ EndDrawing
|
||||
rts
|
||||
.endp
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
;--------------------------------------------------
|
||||
.proc calculatemountains0
|
||||
.proc calculatemountains
|
||||
; Only for testing - makes ground flat (0 pixels)
|
||||
; and places tanks on it
|
||||
; remember to remove in final compilation :)
|
||||
@@ -1555,6 +1556,13 @@ nextPointDrawing
|
||||
inw xdraw
|
||||
cpw xdraw #screenwidth
|
||||
bne nextPointDrawing
|
||||
; 20 first points - max height!
|
||||
mwa #mountaintable modify
|
||||
ldy #20
|
||||
lda #0
|
||||
@ sta (modify),y
|
||||
dey
|
||||
bpl @-
|
||||
ldx NumberOfPlayers
|
||||
dex
|
||||
SetYofNextTank
|
||||
|
||||
Reference in New Issue
Block a user