Explorar o código

- 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
skotlex %!s(int64=19) %!d(string=hai) anos
pai
achega
7d88ebe2fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/pc.c

+ 1 - 1
src/map/pc.c

@@ -8072,7 +8072,7 @@ int pc_split_atoui(char *str,unsigned int *val, char sep, int max)
 			val[i] = UINT_MAX;
 			if (!warning) {
 				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
 			val[i] = (unsigned int)f;