diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 7761364e0..2c78d3370 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3640,7 +3640,8 @@ int pc_jobid2mapid(unsigned short b_class) class_ = MAPID_XMAS; break; default: - ShowError("pc_jobid2mapid: Unrecognized job %d!\n", b_class); + if (battle_config.error_log) + ShowError("pc_jobid2mapid: Unrecognized job %d!\n", b_class); return -1; } return class_; @@ -3790,7 +3791,8 @@ int pc_mapid2jobid(unsigned short class_, int sex) { case MAPID_BABY_ROGUE: return JOB_BABY_ROGUE; default: - ShowError("pc_mapid2jobid: Unrecognized job %d!\n", class_); + if (battle_config.error_log) + ShowError("pc_mapid2jobid: Unrecognized job %d!\n", class_); return -1; } } |