early-access version 3614

This commit is contained in:
pineappleEA
2023-05-26 08:20:12 +02:00
parent f9b7bd6c16
commit 43215b4ced
5 changed files with 7 additions and 5 deletions

View File

@@ -142,6 +142,9 @@ static constexpr bool GetInteger(const char* name, int& offset, int& value, int
if (!IsDigit(temp)) {
return {};
}
if (temp == '0') {
return {};
}
do {
value = value * 10 + (temp - '0');
if (value > max) {