From b9ec5d079ebf975d39c12f12a5c19dab8d069e56 Mon Sep 17 00:00:00 2001 From: ZehMatt Date: Tue, 27 Jul 2021 19:57:45 +0300 Subject: [PATCH] Add construction of TileCoordsXYZD with TileCoordsXYZ --- src/openrct2/world/Location.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index 7fd725fffa..517ed6d1d3 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -615,6 +615,12 @@ struct TileCoordsXYZD : public TileCoordsXYZ { } + TileCoordsXYZD(const TileCoordsXYZ& t_, Direction d_) + : TileCoordsXYZ(t_) + , direction(d_) + { + } + TileCoordsXYZD(const TileCoordsXY& t_, int32_t z_, Direction d_) : TileCoordsXYZ(t_, z_) , direction(d_)