1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Use TileCoordsXY for the TileElementsView

This commit is contained in:
ζeh Matt
2023-04-05 22:55:34 +03:00
parent 19a8384547
commit 2ee7c24282

View File

@@ -41,7 +41,7 @@ namespace OpenRCT2
template<typename T = TileElement> class TileElementsView
{
const CoordsXY _loc;
const TileCoordsXY _loc;
public:
struct Iterator
@@ -104,6 +104,11 @@ namespace OpenRCT2
using iterator_category = std::forward_iterator_tag;
};
TileElementsView(const TileCoordsXY& loc)
: _loc(loc)
{
}
TileElementsView(const CoordsXY& loc)
: _loc(loc)
{