StringToNumber no longer throw an error on failure
Former-commit-id: 8d191884c4ba757179e0c374a8ee2db756d1064b
This commit is contained in:
@@ -313,8 +313,6 @@ inline long long NzStringToNumber(NzString str, nzUInt8 radix, bool* ok)
|
||||
total += c-symbols;
|
||||
else
|
||||
{
|
||||
NazaraError("str is not a valid number");
|
||||
|
||||
if (ok)
|
||||
*ok = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user