From a71a77303f3889bf87dfa96e58a9c8902aab4b27 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 19 Jul 2013 20:10:58 +0200 Subject: 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 --- src/map/homunculus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') 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; -- cgit v1.2.3-70-g09d2