1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Fix #11705: Drawing tooltips out of box (#11707)

This commit is contained in:
Tulio Leao
2020-05-10 15:22:47 -03:00
committed by GitHub
parent b96fdee531
commit ed84c2dab0
4 changed files with 13 additions and 14 deletions

View File

@@ -314,7 +314,7 @@ void draw_string_centred_raw(rct_drawpixelinfo* dpi, int32_t x, int32_t y, int32
ScreenCoordsXY screenCoords(dpi->x, dpi->y);
gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM;
gfx_draw_string(dpi, (char*)"", COLOUR_BLACK, screenCoords);
screenCoords.y = y;
screenCoords = { x, y };
gCurrentFontFlags = 0;
for (int32_t i = 0; i <= numLines; i++)