diff options
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r-- | src/emap/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c index 5eca163..07dd75d 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -264,12 +264,12 @@ void epc_validate_levels_pre(void) int i; for (i = 0; i < 7; i++) { if (!pc->db_checkid(i)) continue; - if (i == JOB_WEDDING || i == JOB_XMAS || i == JOB_SUMMER) + 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]) + if (pc->max_level[j][0] == 0) ShowWarning("Class %d does not has a base exp table.\n", i); - if (!pc->max_level[j][1]) + if (pc->max_level[j][1] == 0) ShowWarning("Class %d does not has a job exp table.\n", i); } hookStop(); |