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:
@@ -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