diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-14 22:35:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-14 22:35:55 +0300 |
commit | 593e49e7155324969f880bab1e677ba8e86bcbaa (patch) | |
tree | 86e5b7df6a71bc0496154d8960fa51c66e7db32c | |
parent | 70c2ecd3b0abcc968b8fefff580d0b8530873965 (diff) | |
download | evol-hercules-593e49e7155324969f880bab1e677ba8e86bcbaa.tar.gz evol-hercules-593e49e7155324969f880bab1e677ba8e86bcbaa.tar.bz2 evol-hercules-593e49e7155324969f880bab1e677ba8e86bcbaa.tar.xz evol-hercules-593e49e7155324969f880bab1e677ba8e86bcbaa.zip |
Fix compilaiton error after hercules update.
-rw-r--r-- | src/emap/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |