mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Use new ImageId in most object previews
This commit is contained in:
@@ -105,8 +105,8 @@ void LargeSceneryObject::DrawPreview(rct_drawpixelinfo* dpi, int32_t width, int3
|
||||
{
|
||||
auto screenCoords = ScreenCoordsXY{ width / 2, (height / 2) - 39 };
|
||||
|
||||
uint32_t imageId = 0xB2D00000 | _legacyType.image;
|
||||
gfx_draw_sprite(dpi, imageId, screenCoords, 0);
|
||||
const auto image = ImageId(_legacyType.image, COLOUR_BORDEAUX_RED, COLOUR_YELLOW);
|
||||
gfx_draw_sprite(dpi, image, screenCoords);
|
||||
}
|
||||
|
||||
std::vector<rct_large_scenery_tile> LargeSceneryObject::ReadTiles(OpenRCT2::IStream* stream)
|
||||
|
||||
Reference in New Issue
Block a user