Remove unnecessary construction of CoordsXYZ in Supports.cpp

This commit is contained in:
Matt 2021-03-09 04:08:08 +02:00
parent 79e627b2da
commit a35d221afa
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/*****************************************************************************
/*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
@ -1002,9 +1002,7 @@ bool metal_a_supports_paint_setup(
image_id += z - 1;
image_id |= imageColourFlags;
PaintAddImageAsParent(
session, image_id, { xOffset, yOffset, height }, { 0, 0, 0 },
{ boundBoxOffset.x, boundBoxOffset.y, boundBoxOffset.z });
PaintAddImageAsParent(session, image_id, { xOffset, yOffset, height }, { 0, 0, 0 }, boundBoxOffset);
height += z;
}