Skip to content

Fix money hud overlap - #429

Merged
a1batross merged 2 commits into
Velaron:mainfrom
Vladislav4KZ:fix-money-hud-overlap
Oct 11, 2026
Merged

a1batross merged 2 commits into
Velaron:mainfrom
Vladislav4KZ:fix-money-hud-overlap

Conversation

@Vladislav4KZ

Copy link
Copy Markdown
Contributor

Fixes: #418

Fixed overlapping of longer values in the money HUD and clamped the incoming balance to the range 0..999999. The upper limit corresponds to MAX_MONEY_THRESHOLD in ReGameDLL.

In DrawHudNumber2, negative iNumber values are replaced with 0 to prevent negative values from producing invalid sprite indices during digit rendering.

@a1batross
a1batross merged commit 6a49bcc into Velaron:main Oct 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Наезжает текст при отображении больше 99999$

2 participants