From 593e49e7155324969f880bab1e677ba8e86bcbaa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Jun 2018 22:35:55 +0300 Subject: Fix compilaiton error after hercules update. --- src/emap/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emap/pc.c') diff --git a/src/emap/pc.c b/src/emap/pc.c index 07dd75d..d87b132 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -267,9 +267,9 @@ void epc_validate_levels_pre(void) if (pc->job_is_dummy(i)) continue; //Classes that do not need exp tables. int j = pc->class2idx(i); - if (pc->max_level[j][0] == 0) + if (pc->dbs->class_exp_table[j][CLASS_EXP_TABLE_BASE] == NULL) ShowWarning("Class %d does not has a base exp table.\n", i); - if (pc->max_level[j][1] == 0) + if (pc->dbs->class_exp_table[j][CLASS_EXP_TABLE_JOB] == NULL) ShowWarning("Class %d does not has a job exp table.\n", i); } hookStop(); -- cgit v1.2.3-60-g2f50