mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-07-03 02:29:35 +00:00
Fixed dark rendering at map edges.
This commit is contained in:
parent
1bca56a497
commit
c26843d221
|
@ -483,9 +483,10 @@ castRay: !zone
|
|||
|
||||
; special case: hit edge of map
|
||||
.hitEdge:
|
||||
ldy #0 ; height
|
||||
ldy darkHeight ; height
|
||||
lda #1 ; depth
|
||||
sty txNum ; texture number
|
||||
ldx #0 ; dark texture
|
||||
stx txNum ; texture number
|
||||
jsr saveLink ; allocate a link and save those
|
||||
lda #0 ; column number
|
||||
sta txColBuf,x ; save that too
|
||||
|
|
Loading…
Reference in New Issue
Block a user