1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-21 14:53:02 +01:00

Make it work with older compilers

This commit is contained in:
ζeh Matt
2025-03-22 17:53:47 +02:00
parent 05755b3f7e
commit 621ef5fe8c

View File

@@ -60,8 +60,8 @@ namespace OpenRCT2::Ui
if (top == bottom)
continue;
x_sweep.emplace_back(left, top, bottom, true);
x_sweep.emplace_back(right, top, bottom, false);
x_sweep.push_back({ left, top, bottom, true });
x_sweep.push_back({ right, top, bottom, false });
}
std::sort(x_sweep.begin(), x_sweep.end(), [](const XData& a, const XData& b) -> bool {