diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 8 | ||||
-rw-r--r-- | src/map/skill.c | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index cc2fa146f..ddc26254d 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2486,7 +2486,13 @@ int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id) data.x = md2->bl.x; data.y = md2->bl.y; } - strcpy(data.name, "--ja--"); //These two need to be loaded from the db for each slave. + + //These two need to be loaded from the db for each slave. + if(battle_config.override_mob_names==1) + strcpy(data.name,"--en--"); + else + strcpy(data.name,"--ja--"); + data.level = 0; if (!mob_parse_dataset(&data)) continue; diff --git a/src/map/skill.c b/src/map/skill.c index 264a5b4a0..ac1187126 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11442,7 +11442,10 @@ int skill_readdb (void) } k++; if(k >= MAX_SKILL_PRODUCE_DB) + { + ShowError("Reached the max number of produce_db entries (%d), consider raising the value of MAX_SKILL_PRODUCE_DB and recompile.\n", MAX_SKILL_PRODUCE_DB); break; + } } fclose(fp); ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n",k,path); |