]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
FINALLY use the mapidx right
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index 51d892e68df36c3edb35306cde7520b98f5441c2..105417a066e1b096281e75b49104dba02d6f0bb2 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);