mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unnecessary construction of CoordsXYZ in Supports.cpp
This commit is contained in:
parent
79e627b2da
commit
a35d221afa
|
@ -1,4 +1,4 @@
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Copyright (c) 2014-2020 OpenRCT2 developers
|
* Copyright (c) 2014-2020 OpenRCT2 developers
|
||||||
*
|
*
|
||||||
* For a complete list of all authors, please refer to contributors.md
|
* 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 += z - 1;
|
||||||
image_id |= imageColourFlags;
|
image_id |= imageColourFlags;
|
||||||
|
|
||||||
PaintAddImageAsParent(
|
PaintAddImageAsParent(session, image_id, { xOffset, yOffset, height }, { 0, 0, 0 }, boundBoxOffset);
|
||||||
session, image_id, { xOffset, yOffset, height }, { 0, 0, 0 },
|
|
||||||
{ boundBoxOffset.x, boundBoxOffset.y, boundBoxOffset.z });
|
|
||||||
|
|
||||||
height += z;
|
height += z;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue