Remove unnecessary construction of CoordsXYZ in Supports.cpp

This commit is contained in:
Matt committed 2021-06-05 17:16:07 +03:00
1 parent 79e627b2da
commit a35d221afa
1 file changed
+2 -4
+2 -4
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;
}