Use the parse functions, adjust code to account for the split change

This commit is contained in:
ζeh Matt committed 2025-09-28 23:09:11 +03:00
1 parent 9eeaf9a001
commit 6457eca67c
9 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -433,7 +433,7 @@ namespace OpenRCT2
size_t highestIndex = std::min(nums.size(), VersionNumFields);
for (size_t i = 0; i < highestIndex; i++)
{
auto value = stoll(nums.at(i));
auto value = String::parse<int64_t>(nums.at(i));
constexpr auto maxValue = std::numeric_limits<uint16_t>().max();
if (value > maxValue)
{