FINALLY use the mapidx right
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2011 18:33:10 +0000 (18:33 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2011 18:33:10 +0000 (18:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11111 d7cf8633-e32d-0410-b094-e92efae38249

ft2.c

diff --git a/ft2.c b/ft2.c
index 51d892e..105417a 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -1220,7 +1220,7 @@ static qboolean Font_LoadMap(ft2_font_t *font, ft2_font_map_t *mapstart, Uchar _
                (double) font->settings->shadowx,
                (double) font->settings->shadowy,
                (double) font->settings->shadowz,
-               (unsigned) map->start/FONT_CHARS_PER_MAP);
+               (unsigned) mapidx);
 
        // create a cachepic_t from the data now, or reuse an existing one
        map->pic = Draw_CachePic_Flags(map_identifier, CACHEPICFLAG_QUIET);