1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

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

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;
}