mirror of https://github.com/OpenRCT2/OpenRCT2.git
Refactor uses of PaintAddImageAsParent in MerryGoRound.cpp
This commit is contained in:
parent
38ce48fdf1
commit
a12a2b6964
|
@ -68,7 +68,8 @@ static void paint_merry_go_round_structure(
|
|||
}
|
||||
|
||||
uint32_t imageId = (baseImageId + imageOffset) | imageColourFlags;
|
||||
PaintAddImageAsParent(session, imageId, xOffset, yOffset, 24, 24, 48, height, xOffset + 16, yOffset + 16, height);
|
||||
PaintAddImageAsParent(
|
||||
session, imageId, { xOffset, yOffset, height }, { 24, 24, 48 }, { xOffset + 16, yOffset + 16, height });
|
||||
|
||||
rct_drawpixelinfo* dpi = &session->DPI;
|
||||
if (dpi->zoom_level <= 0 && ride->lifecycle_flags & RIDE_LIFECYCLE_ON_TRACK && vehicle != nullptr)
|
||||
|
|
Loading…
Reference in New Issue