summaryrefslogtreecommitdiff
path: root/src/char_sql/int_homun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/int_homun.c')
-rw-r--r--src/char_sql/int_homun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c
index bc38e07be..25637c6e7 100644
--- a/src/char_sql/int_homun.c
+++ b/src/char_sql/int_homun.c
@@ -199,7 +199,7 @@ int mapif_load_homunculus(int fd)
i = atoi(data);
if( i < HM_SKILLBASE || i >= HM_SKILLBASE + MAX_HOMUNSKILL )
continue;// invalid guild skill
- i = i - HM_SKILLBASE - 1;
+ i = i - HM_SKILLBASE;
homun_pt->hskill[i].id = (unsigned short)atoi(data);
// lv
Sql_GetData(sql_handle, 1, &data, NULL);