1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

FIx #12017 - Create gfx_draw_sprite overload (#12049)

Second and final part. replaces the rest of the calls and removes the old function.
This commit is contained in:
TomasZilinek
2020-06-24 17:48:17 +02:00
committed by GitHub
parent f330a22df1
commit cd6076b5bc
30 changed files with 199 additions and 198 deletions

View File

@@ -1078,7 +1078,7 @@ static void window_multiplayer_draw_tab_image(rct_window* w, rct_drawpixelinfo*
}
gfx_draw_sprite(
dpi, spriteIndex, w->windowPos.x + w->widgets[widgetIndex].left, w->windowPos.y + w->widgets[widgetIndex].top, 0);
dpi, spriteIndex, w->windowPos + ScreenCoordsXY{ w->widgets[widgetIndex].left, w->widgets[widgetIndex].top }, 0);
}
}