From a35d221afac83b64cd9b7f33253e141d3f642cf5 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 9 Mar 2021 04:08:08 +0200 Subject: [PATCH] Remove unnecessary construction of CoordsXYZ in Supports.cpp --- src/openrct2/paint/Supports.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/openrct2/paint/Supports.cpp b/src/openrct2/paint/Supports.cpp index 5e977a3bbf..c36cd3aef7 100644 --- a/src/openrct2/paint/Supports.cpp +++ b/src/openrct2/paint/Supports.cpp @@ -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; }