Fixed some homunculus skill offset calculation mistakes (bugreport:363)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11731 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage
2007-11-14 09:31:47 +00:00
parent 8cbd792cbd
commit b5cf6976a2
8 changed files with 16 additions and 14 deletions

View File

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