mirror of https://github.com/OpenRCT2/OpenRCT2.git
Refactor uses of PaintAddImageAsParent in TopSpin.cpp
This commit is contained in:
parent
4009582f6d
commit
0036652eb5
|
@ -91,7 +91,7 @@ static void top_spin_paint_vehicle(
|
||||||
// Left back bottom support
|
// Left back bottom support
|
||||||
image_id += 572;
|
image_id += 572;
|
||||||
PaintAddImageAsParent(
|
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];
|
image_id = session->TrackColours[SCHEME_MISC];
|
||||||
if (image_id == IMAGE_TYPE_REMAP)
|
if (image_id == IMAGE_TYPE_REMAP)
|
||||||
|
|
Loading…
Reference in New Issue