summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfxinit.c')
-rw-r--r--gfxinit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfxinit.c b/gfxinit.c
index 5b88eaf3f..bc4e3bb4f 100644
--- a/gfxinit.c
+++ b/gfxinit.c
@@ -13,6 +13,7 @@
#include "newgrf.h"
#include "md5.h"
#include "variables.h"
+#include "fontcache.h"
#include <string.h>
typedef struct MD5File {
@@ -372,6 +373,9 @@ static void LoadSpriteTables(void)
assert(load_index == SPR_AIRPORTX_BASE);
load_index += LoadGrfFile("airports.grf", load_index, i++);
+ /* Initialize the unicode to sprite mapping table */
+ InitializeUnicodeGlyphMap();
+
LoadNewGRF(load_index, i);
}