1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

fix drawing of text

This commit is contained in:
Ted John
2016-06-11 23:14:22 +01:00
parent 4896d14940
commit f796ef5122
8 changed files with 190 additions and 49 deletions

View File

@@ -924,7 +924,7 @@ static void ttf_draw_character_sprite(rct_drawpixelinfo *dpi, int codepoint, tex
if (info->flags & TEXT_DRAW_FLAG_Y_OFFSET_EFFECT) {
y += *info->y_offset++;
}
gfx_draw_sprite_palette_set(dpi, sprite, x, y, info->palette, NULL);
gfx_draw_glpyh(dpi, sprite, x, y, info->palette);
}
info->x += characterWidth;