mirror of
https://github.com/blondie7575/GSCats.git
synced 2025-02-19 14:30:58 +00:00
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 updateCrosshair
|
||||
jsr protectCrosshair
|
||||
|
||||
gameplayLoopAngleCheck:
|
||||
lda projectileActive ; Skip interactivity during shots
|
||||
@ -156,6 +155,8 @@ gameplayLoopRender:
|
||||
beq gameplayLoopRenderPlayersAnyway
|
||||
jsr unrenderPlayers
|
||||
jsr protectPlayers
|
||||
jsr unrenderCrosshair
|
||||
jsr protectCrosshair
|
||||
|
||||
gameplayLoopRenderPlayersAnyway:
|
||||
jsr renderPlayers
|
||||
@ -357,6 +358,7 @@ scrollMapApplyScrolling:
|
||||
sta playersDirty
|
||||
sta projectilesDirty
|
||||
sta terrainDirty
|
||||
sta crosshairDirty
|
||||
rts
|
||||
|
||||
|
||||
@ -485,6 +487,8 @@ terrainDirty:
|
||||
.word 1
|
||||
playersDirty:
|
||||
.word 0
|
||||
crosshairDirty:
|
||||
.word 0
|
||||
projectilesDirty:
|
||||
.word 1
|
||||
inventoryDirty:
|
||||
|
Loading…
x
Reference in New Issue
Block a user