diff options
author | Haru <haru@dotalux.com> | 2013-07-19 20:10:58 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-07-22 03:56:59 +0200 |
commit | a71a77303f3889bf87dfa96e58a9c8902aab4b27 (patch) | |
tree | 900ab4ea35b80e29f4637c67d50e20b34f29d6f6 /src/map | |
parent | 68fb17f516928242d9d1b4144038d933bfdd7eec (diff) | |
download | hercules-a71a77303f3889bf87dfa96e58a9c8902aab4b27.tar.gz hercules-a71a77303f3889bf87dfa96e58a9c8902aab4b27.tar.bz2 hercules-a71a77303f3889bf87dfa96e58a9c8902aab4b27.tar.xz hercules-a71a77303f3889bf87dfa96e58a9c8902aab4b27.zip |
Fixed the homun_skill_tree parser.
- Follow-up to efbd5d0 (related: issue #4337)
- Now all the fields are read as intended.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/homunculus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c index 5a9d7ac28..a1dd38b68 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -1146,8 +1146,8 @@ bool homunculus_read_skill_db_sub(char* split[], int columns, int current) { int j; int minJobLevelPresent = 0; - if( columns == 14 ) - minJobLevelPresent = 1; // MinJobLvl has been added + if( columns == 15 ) + minJobLevelPresent = 1; // MinJobLvl has been added - FIXME: is this extra field even needed anymore? // check for bounds [celest] classid = atoi(split[0]) - HM_CLASS_BASE; |