summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 566f68409..a08b587e7 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -307,8 +307,8 @@ int merc_data_received(struct s_mercenary *merc, bool flag)
md->master = sd;
md->db = db;
memcpy(&md->mercenary, merc, sizeof(struct s_mercenary));
- status_set_viewdata(&md->bl, md->mercenary.class_);
- status_change_init(&md->bl);
+ iStatus->set_viewdata(&md->bl, md->mercenary.class_);
+ iStatus->change_init(&md->bl);
unit_dataset(&md->bl);
md->ud.dir = sd->ud.dir;