- Fixed error display when the exp table reads a value which is capped to UINT_MAX
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5261 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7494ea0ff4
commit
7d88ebe2fb
@ -8072,7 +8072,7 @@ int pc_split_atoui(char *str,unsigned int *val, char sep, int max)
|
|||||||
val[i] = UINT_MAX;
|
val[i] = UINT_MAX;
|
||||||
if (!warning) {
|
if (!warning) {
|
||||||
warning = 1;
|
warning = 1;
|
||||||
ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %d\n", UINT_MAX);
|
ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %u\n", UINT_MAX);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
val[i] = (unsigned int)f;
|
val[i] = (unsigned int)f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user