summaryrefslogtreecommitdiff
path: root/src/map/homunculus.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/homunculus.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/homunculus.c')
-rw-r--r--src/map/homunculus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c
index a1dd38b68..3a6ed074c 100644
--- a/src/map/homunculus.c
+++ b/src/map/homunculus.c
@@ -544,7 +544,7 @@ void homunculus_save(struct homun_data *hd) {
//calculation on login)
hd->homunculus.hp = hd->battle_status.hp;
hd->homunculus.sp = hd->battle_status.sp;
- intif_homunculus_requestsave(sd->status.account_id, &hd->homunculus);
+ intif->homunculus_requestsave(sd->status.account_id, &hd->homunculus);
}
unsigned char homunculus_menu(struct map_session_data *sd,unsigned char menu_num) {
@@ -731,7 +731,7 @@ bool homunculus_create(struct map_session_data *sd, struct s_homunculus *hom) {
if(i < 0) {
ShowError("homunculus_create: unknown class [%d] for homunculus '%s', requesting deletion.\n", hom->class_, hom->name);
sd->status.hom_id = 0;
- intif_homunculus_requestdelete(hom->hom_id);
+ intif->homunculus_requestdelete(hom->hom_id);
return false;
}
sd->hd = hd = (struct homun_data*)aCalloc(1,sizeof(struct homun_data));
@@ -777,7 +777,7 @@ bool homunculus_call(struct map_session_data *sd) {
// If homunc not yet loaded, load it
if (!sd->hd)
- return intif_homunculus_requestload(sd->status.account_id, sd->status.hom_id);
+ return intif->homunculus_requestload(sd->status.account_id, sd->status.hom_id);
hd = sd->hd;
@@ -892,7 +892,7 @@ bool homunculus_creation_request(struct map_session_data *sd, int class_) {
hom.luk = base->luk *10;
// Request homunculus creation
- intif_homunculus_create(sd->status.account_id, &hom);
+ intif->homunculus_create(sd->status.account_id, &hom);
return true;
}
@@ -904,7 +904,7 @@ bool homunculus_ressurect(struct map_session_data* sd, unsigned char per, short
return false; // no homunculus
if (!sd->hd) //Load homun data;
- return intif_homunculus_requestload(sd->status.account_id, sd->status.hom_id);
+ return intif->homunculus_requestload(sd->status.account_id, sd->status.hom_id);
hd = sd->hd;