mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 09:39:10 +00:00
Fix e1f5be62
: Clear font cache when toggling sprite font.
This is necessary for the sprite font height and ascender to be updated correctly.
This commit is contained in:
@@ -573,6 +573,7 @@ struct GameOptionsWindow : Window {
|
||||
|
||||
InitFontCache(false);
|
||||
InitFontCache(true);
|
||||
ClearFontCache();
|
||||
SetupWidgetDimensions();
|
||||
ReInitAllWindows(true);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user