summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-11-24 20:47:29 +0000
committerpeter1138 <peter1138@openttd.org>2006-11-24 20:47:29 +0000
commit1955d1acd6b7fa24e47784a1c282c288b6cee8f4 (patch)
tree8e68f7ba93ef74caaa96d40bdad53eb1cc7cc6fb /gfx.c
parentc079c83eb65e8365680523f6fba676f9c41ec10a (diff)
downloadopenttd-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 'gfx.c')
-rw-r--r--gfx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gfx.c b/gfx.c
index 41c072d62..314de65d7 100644
--- a/gfx.c
+++ b/gfx.c
@@ -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);