Fix 195fd0dc60: Sprite cache must still be cleared when using bitmap fonts.

pull/78/head
peter1138 5 years ago committed by Charles Pigott
parent 93c6398810
commit c2e4a8c9bf

@ -561,6 +561,7 @@ struct GameOptionsWindow : Window {
break; break;
case WID_GO_FONT_ZOOM_DROPDOWN: case WID_GO_FONT_ZOOM_DROPDOWN:
GfxClearSpriteCache();
_font_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index); _font_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
ClearFontCache(); ClearFontCache();
LoadStringWidthTable(); LoadStringWidthTable();

Loading…
Cancel
Save