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:
xazax-hun
2011-12-22 18:28:18 +00:00
parent a206579adc
commit a7b90c81fe
3 changed files with 23 additions and 37 deletions

View File

@@ -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);