1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00

Only fallback if only one element differs

This commit is contained in:
Marijn van der Werf
2016-10-22 02:40:35 +02:00
parent 6f2b20d3c0
commit 157d535f67
3 changed files with 1 additions and 24 deletions

View File

@@ -54,17 +54,6 @@ bool GeneralSupportHeightCall::FindMostCommonSupportCall(SupportCall calls[4], S
return false;
}
if (map.size() == 3) {
for (auto &&item : map) {
if (item.second == 2) {
(*out) = item.first;
return true;
}
}
return false;
}
return false;
}