[GH-ISSUE #62] empty list of Defensives gets corrupted #54

Closed
opened 2026-05-20 22:32:20 +02:00 by Pecus · 2 comments
Owner

Originally created by @bocianu on GitHub (May 16, 2022).
Original GitHub issue: https://github.com/pkali/scorch_src/issues/62

Originally assigned to: @pkali on GitHub.

In the shop, when you switch to defensives but you can not afford one, the list is empty.
That is perfectly ok.
But you can still navigate down the list, and even go out of screen on the bottom edge.
Screen gets corrupted and so on...

image

Originally created by @bocianu on GitHub (May 16, 2022). Original GitHub issue: https://github.com/pkali/scorch_src/issues/62 Originally assigned to: @pkali on GitHub. In the shop, when you switch to defensives but you can not afford one, the list is empty. That is perfectly ok. But you can still navigate down the list, and even go out of screen on the bottom edge. Screen gets corrupted and so on... ![image](https://user-images.githubusercontent.com/2974998/168674988-176ecc8e-a4db-4cee-a2f3-cc5a7b199585.png)
Pecus added the bug label 2026-05-20 22:32:20 +02:00
Pecus closed this issue 2026-05-20 22:32:20 +02:00
Author
Owner

@pkali commented on GitHub (May 16, 2022):

oh noes, the screen crosses the 4KiB barrier...

<!-- gh-comment-id:1128157252 --> @pkali commented on GitHub (May 16, 2022): oh noes, the screen crosses the 4KiB barrier...
Author
Owner

@pkali commented on GitHub (May 21, 2022):

Not the best fix in the world, I've added a new defense 'White Flag' that right now cannot be bought, because of HONOR!

<!-- gh-comment-id:1133683723 --> @pkali commented on GitHub (May 21, 2022): Not the best fix in the world, I've added a new defense 'White Flag' that right now cannot be bought, because of HONOR!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/scorch_src#54