Added a memory optimization. bugreport:4972
Added more optimizations to some statuses. Releated: bugreport:4007 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15215 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -218,7 +218,7 @@ bool mapif_homunculus_load(int homun_id, struct s_homunculus* hd)
|
||||
|
||||
// lv
|
||||
Sql_GetData(sql_handle, 1, &data, NULL);
|
||||
hd->hskill[i].lv = (unsigned short)atoi(data);
|
||||
hd->hskill[i].lv = (unsigned char)atoi(data);
|
||||
}
|
||||
Sql_FreeResult(sql_handle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user