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