1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Fix #4929: Changing TTF language crashes game

This commit is contained in:
Ted John
2016-12-27 23:27:49 +00:00
committed by GitHub
parent de88cdd7a2
commit a7b60c2419
3 changed files with 5 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ static bool LoadFont(TTFFontSetDescriptor * font)
gUseTrueTypeFont = true;
gCurrentTTFFontSet = font;
ttf_dispose();
bool fontInitialised = ttf_initialise();
return fontInitialised;
}