Fixed crosshair rendering wrong size on player switch

This commit is contained in:
blondie7575 2023-12-24 13:51:38 -07:00
parent f0a53d6964
commit 8a8235181c
1 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ gameplayLoopPower:
beq gameplayLoopFire
jsr changePower
jsr unrenderCrosshair
ldy currentPlayer
jsr renderCrosshair
gameplayLoopFire:
@ -172,6 +173,7 @@ gameplayLoopRender:
lda dirtExplosionActive ; Crosshair is dirty if map scrolled and dirt is finished
bne gameplayLoopRenderPlayersAnyway
jsr protectCrosshair
ldy currentPlayer
jsr renderCrosshair
gameplayLoopRenderPlayersAnyway:
@ -474,6 +476,7 @@ moveCleanup:
jsr protectPlayers
jsr renderPlayers
jsr protectCrosshair
ldy currentPlayer
jsr renderCrosshair
RESTORE_AY