summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c2
-rw-r--r--src/map/mercenary.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index e87074883..0304788a8 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4213,6 +4213,7 @@ ACMD_FUNC(reloadmobdb)
mob_reload();
read_petdb();
merc_reload();
+ read_mercenarydb();
clif_displaymessage(fd, msg_txt(98)); // Monster database has been reloaded.
return 0;
@@ -4226,6 +4227,7 @@ ACMD_FUNC(reloadskilldb)
nullpo_retr(-1, sd);
skill_reload();
merc_skill_reload();
+ read_mercenary_skilldb();
clif_displaymessage(fd, msg_txt(99)); // Skill database has been reloaded.
return 0;
diff --git a/src/map/mercenary.h b/src/map/mercenary.h
index 1cc689208..f040a3913 100644
--- a/src/map/mercenary.h
+++ b/src/map/mercenary.h
@@ -69,6 +69,12 @@ int mercenary_kills(struct mercenary_data *md);
int mercenary_checkskill(struct mercenary_data *md, int skill_id);
+/**
+ * atcommand.c required
+ **/
+int read_mercenarydb(void);
+int read_mercenary_skilldb(void);
+
int do_init_mercenary(void);
#endif /* _MERCENARY_H_ */