diff options
author | peter1138 <peter1138@openttd.org> | 2006-11-24 20:47:29 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-11-24 20:47:29 +0000 |
commit | 1955d1acd6b7fa24e47784a1c282c288b6cee8f4 (patch) | |
tree | 8e68f7ba93ef74caaa96d40bdad53eb1cc7cc6fb /gfxinit.c | |
parent | c079c83eb65e8365680523f6fba676f9c41ec10a (diff) | |
download | openttd-1955d1acd6b7fa24e47784a1c282c288b6cee8f4.tar.xz |
(svn r7254) -Fix (r7250): move unicode glyph map initialisation to just before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez)
Diffstat (limited to 'gfxinit.c')
-rw-r--r-- | gfxinit.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } |