summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:28:48 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:28:48 +0200
commit9d5309327da9543f86385549001df7e9a7c98833 (patch)
tree8d36faa7961fcca952442caefb93e270140e11a9 /src/map/pc.c
parent5a22b0445416dbf7d0a0ddd95d31c1f068e704b3 (diff)
downloadhercules-9d5309327da9543f86385549001df7e9a7c98833.tar.gz
hercules-9d5309327da9543f86385549001df7e9a7c98833.tar.bz2
hercules-9d5309327da9543f86385549001df7e9a7c98833.tar.xz
hercules-9d5309327da9543f86385549001df7e9a7c98833.zip
Added elemental interface
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ee2e62e92..30ef9848c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6687,7 +6687,7 @@ void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int h
pet_target_check(sd,src,1);
if( sd->status.ele_id > 0 )
- elemental_set_target(sd,src);
+ elemental->set_target(sd,src);
sd->canlog_tick = iTimer->gettick();
}
@@ -6728,7 +6728,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
merc_delete(sd->md, 3); // Your mercenary soldier has ran away.
if( sd->ed )
- elemental_delete(sd->ed, 0);
+ elemental->delete(sd->ed, 0);
// Leave duel if you die [LuzZza]
if(battle_config.duel_autoleave_when_die) {
@@ -7621,7 +7621,7 @@ int pc_jobchange(struct map_session_data *sd,int job, int upper)
clif->skillinfoblock(sd);
if (sd->ed)
- elemental_delete(sd->ed, 0);
+ elemental->delete(sd->ed, 0);
if (sd->state.vending)
vending->close(sd);