X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftext.c;h=ccf32e700bbd070d6d753cad2a7d9599db773427;hb=1264abe158bef8419451c95e6db9a738eeec76f8;hp=59c2ba3a6e9fa585e11d2ae7dcb2a64393314dc9;hpb=36d0e6ff3c76c763be2392f1492eb37c4f062d30;p=rocksndiamonds.git diff --git a/src/libgame/text.c b/src/libgame/text.c index 59c2ba3a..ccf32e70 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -270,8 +270,12 @@ void DrawText(int x, int y, char *text, int font_nr) void DrawTextExt(DrawBuffer *dst_bitmap, int dst_x, int dst_y, char *text, int font_nr, int mask_mode) { +#if 1 + struct FontBitmapInfo *font = getFontBitmapInfo(font_nr); +#else int font_bitmap_id = gfx.select_font_function(font_nr); struct FontBitmapInfo *font = &gfx.font_bitmap_info[font_bitmap_id]; +#endif int font_width = getFontWidth(font_nr); int font_height = getFontHeight(font_nr); #if 0