diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-14 09:31:47 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-14 09:31:47 +0000 |
commit | fefc60d0a202e489ebc0d999f13a0abcc638518a (patch) | |
tree | fba77837fbe8e56d7f71cd3a83716a231ba993b6 /src/char_sql/int_homun.c | |
parent | e932e59a70601716c75daffa6cc43cbfcf0e2334 (diff) | |
download | hercules-fefc60d0a202e489ebc0d999f13a0abcc638518a.tar.gz hercules-fefc60d0a202e489ebc0d999f13a0abcc638518a.tar.bz2 hercules-fefc60d0a202e489ebc0d999f13a0abcc638518a.tar.xz hercules-fefc60d0a202e489ebc0d999f13a0abcc638518a.zip |
Fixed some homunculus skill offset calculation mistakes (bugreport:363)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11731 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 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); |