1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Refactor uses of PaintAddImageAsParent in TopSpin.cpp

This commit is contained in:
Matt
2021-03-08 16:57:25 +02:00
parent 4009582f6d
commit 0036652eb5

View File

@@ -91,7 +91,7 @@ static void top_spin_paint_vehicle(
// Left back bottom support
image_id += 572;
PaintAddImageAsParent(
session, image_id, al, cl, lengthX, lengthY, 90, height, boundBoxOffsetX, boundBoxOffsetY, boundBoxOffsetZ);
session, image_id, { al, cl, height }, { lengthX, lengthY, 90 }, { boundBoxOffsetX, boundBoxOffsetY, boundBoxOffsetZ });
image_id = session->TrackColours[SCHEME_MISC];
if (image_id == IMAGE_TYPE_REMAP)