Refactor uses of PaintAddImageAsParent in MerryGoRound.cpp

This commit is contained in:
Matt committed 2021-06-05 17:16:05 +03:00
1 parent 38ce48fdf1
commit a12a2b6964
1 file changed
+2 -1
+2 -1
View File
@@ -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)