wesnoth/changelog_entries/overlarge_unit_bars.md
Iris Morelle 3e3cd06121 units: Limit energy bar sizes to the game tile size
Because of the move to hardware rendering in commit
afd6baa7cf1685610c72305f5c9f989078462dff, some relevant info
was lost that was previously used to limit bar height in
particular.

This patch re-adds a dimension check and additionally ensures
that the bar width doesn't exceed the tile size either.

Fixes #7171.
2023-01-20 11:17:22 +01:00

128 B

Rendering Engine

  • Fixed a regression in 1.17.x resulting in overlarge unit HP and XP bars in some cases (issue #7171).