(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)

This commit is contained in:
2006-11-24 20:47:29 +00:00
parent c079c83eb6
commit 1955d1acd6
2 changed files with 4 additions and 3 deletions

3
gfx.c
View File

@@ -1613,9 +1613,6 @@ void LoadStringWidthTable(void)
{
uint i;
/* Initialize the unicode to sprite mapping table */
InitializeUnicodeGlyphMap();
/* Normal font */
for (i = 0; i != 224; i++) {
_stringwidth_table[FS_NORMAL][i] = GetGlyphWidth(FS_NORMAL, i + 32);