mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Second and final part. replaces the rest of the calls and removes the old function.
This commit is contained in:
@@ -236,7 +236,7 @@ static void window_install_track_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
g1temp.flags = G1_FLAG_BMP;
|
||||
gfx_set_g1_element(SPR_TEMP, &g1temp);
|
||||
drawing_engine_invalidate_image(SPR_TEMP);
|
||||
gfx_draw_sprite(dpi, SPR_TEMP, screenPos.x, screenPos.y, 0);
|
||||
gfx_draw_sprite(dpi, SPR_TEMP, screenPos, 0);
|
||||
|
||||
screenPos = w->windowPos + ScreenCoordsXY{ (widget->left + widget->right) / 2, widget->bottom - 12 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user