瀏覽代碼

Fixed jobmasks for custom jobs(>32 bit)

Fixes #1784
Thanks to @Stolao
Lemongrass3110 8 年之前
父節點
當前提交
ab38f2cd7e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/itemdb.c

+ 1 - 1
src/map/itemdb.c

@@ -1281,7 +1281,7 @@ static bool itemdb_parse_dbrow(char** str, const char* source, int line, int scr
 		id->slot = MAX_SLOTS;
 	}
 
-	itemdb_jobid2mapid(id->class_base, (uint64)strtoul(str[11],NULL,0));
+	itemdb_jobid2mapid(id->class_base, (uint64)strtoull(str[11],NULL,0));
 	id->class_upper = atoi(str[12]);
 	id->sex	= atoi(str[13]);
 	id->equip = atoi(str[14]);