mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 16:45:28 +00:00

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.
128 B
128 B
Rendering Engine
- Fixed a regression in 1.17.x resulting in overlarge unit HP and XP bars in some cases (issue #7171).