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
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 1 additions and 1 deletions

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)