Fixed crosshair render glitch when overlapping terrain during scroll
This commit is contained in:
parent
0634837dbc
commit
aef29be0f8
|
@ -96,7 +96,6 @@ gameplayLoopScroll:
|
||||||
|
|
||||||
jsr scrollMap
|
jsr scrollMap
|
||||||
jsr updateCrosshair
|
jsr updateCrosshair
|
||||||
jsr protectCrosshair
|
|
||||||
|
|
||||||
gameplayLoopAngleCheck:
|
gameplayLoopAngleCheck:
|
||||||
lda projectileActive ; Skip interactivity during shots
|
lda projectileActive ; Skip interactivity during shots
|
||||||
|
@ -156,6 +155,8 @@ gameplayLoopRender:
|
||||||
beq gameplayLoopRenderPlayersAnyway
|
beq gameplayLoopRenderPlayersAnyway
|
||||||
jsr unrenderPlayers
|
jsr unrenderPlayers
|
||||||
jsr protectPlayers
|
jsr protectPlayers
|
||||||
|
jsr unrenderCrosshair
|
||||||
|
jsr protectCrosshair
|
||||||
|
|
||||||
gameplayLoopRenderPlayersAnyway:
|
gameplayLoopRenderPlayersAnyway:
|
||||||
jsr renderPlayers
|
jsr renderPlayers
|
||||||
|
@ -357,6 +358,7 @@ scrollMapApplyScrolling:
|
||||||
sta playersDirty
|
sta playersDirty
|
||||||
sta projectilesDirty
|
sta projectilesDirty
|
||||||
sta terrainDirty
|
sta terrainDirty
|
||||||
|
sta crosshairDirty
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
@ -485,6 +487,8 @@ terrainDirty:
|
||||||
.word 1
|
.word 1
|
||||||
playersDirty:
|
playersDirty:
|
||||||
.word 0
|
.word 0
|
||||||
|
crosshairDirty:
|
||||||
|
.word 0
|
||||||
projectilesDirty:
|
projectilesDirty:
|
||||||
.word 1
|
.word 1
|
||||||
inventoryDirty:
|
inventoryDirty:
|
||||||
|
|
Loading…
Reference in New Issue