summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:49:14 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:49:14 +0200
commit853489bcb5f2acfce14731b117ddc2b246042883 (patch)
treea1418ef7a65a26af3693edd0576abdbf83ce24f7 /src/map/mercenary.c
parent9d5309327da9543f86385549001df7e9a7c98833 (diff)
downloadhercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.gz
hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.bz2
hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.xz
hercules-853489bcb5f2acfce14731b117ddc2b246042883.zip
Added intif interface
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 a08b587e7..72ed7628a 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -82,7 +82,7 @@ int merc_create(struct map_session_data *sd, int class_, unsigned int lifetime)
merc.life_time = lifetime;
// Request Char Server to create this mercenary
- intif_mercenary_create(&merc);
+ intif->mercenary_create(&merc);
return 1;
}
@@ -213,7 +213,7 @@ int mercenary_save(struct mercenary_data *md)
md->mercenary.sp = md->battle_status.sp;
md->mercenary.life_time = mercenary_get_lifetime(md);
- intif_mercenary_save(&md->mercenary);
+ intif->mercenary_save(&md->mercenary);
return 1;
}