mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
* Renamed All Instance of G1_FLAG_BMP Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY * Fixed comments and labels Fixed comments and labels to be more in line with new definitions
This commit is contained in:
@@ -208,7 +208,7 @@ static void WindowInstallTrackPaint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
g1temp.offset = _trackDesignPreviewPixels.data() + (_currentTrackPieceDirection * TRACK_PREVIEW_IMAGE_SIZE);
|
||||
g1temp.width = 370;
|
||||
g1temp.height = 217;
|
||||
g1temp.flags = G1_FLAG_BMP;
|
||||
g1temp.flags = G1_FLAG_HAS_TRANSPARENCY;
|
||||
gfx_set_g1_element(SPR_TEMP, &g1temp);
|
||||
drawing_engine_invalidate_image(SPR_TEMP);
|
||||
gfx_draw_sprite(dpi, ImageId(SPR_TEMP), screenPos);
|
||||
|
||||
Reference in New Issue
Block a user