forked from rosebudai/OpenRCT2-Web
Fix #4929: Changing TTF language crashes game
This commit is contained in:
1 parent
de88cdd7a2
commit
a7b60c2419
3 files changed
+5
No files matched your search
@@ -101,6 +101,7 @@ static bool LoadFont(TTFFontSetDescriptor * font)
|
||||
gUseTrueTypeFont = true;
|
||||
gCurrentTTFFontSet = font;
|
||||
|
||||
ttf_dispose();
|
||||
bool fontInitialised = ttf_initialise();
|
||||
return fontInitialised;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user