diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-22 18:28:18 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-22 18:28:18 +0000 |
commit | 4174099a87afe0a6082a3272f71a5e8d23e33869 (patch) | |
tree | ba6cd036a56d28664d238f99127a36cc558e701a /src/char_sql/int_homun.c | |
parent | fbd18e2ae54bbf77e362614a461deafadd4b6bac (diff) | |
download | hercules-4174099a87afe0a6082a3272f71a5e8d23e33869.tar.gz hercules-4174099a87afe0a6082a3272f71a5e8d23e33869.tar.bz2 hercules-4174099a87afe0a6082a3272f71a5e8d23e33869.tar.xz hercules-4174099a87afe0a6082a3272f71a5e8d23e33869.zip |
Added a memory optimization. bugreport:4972
Added more optimizations to some statuses. Releated: bugreport:4007
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15215 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_homun.c')
-rw-r--r-- | src/char_sql/int_homun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index 5f620409e..d5a928e59 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -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); |