summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:16:48 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:16:48 +0200
commit5a22b0445416dbf7d0a0ddd95d31c1f068e704b3 (patch)
tree00ac75b9f22e4602eac87b9203b8faa141c86d65 /src/map/pc.c
parent9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4 (diff)
downloadhercules-5a22b0445416dbf7d0a0ddd95d31c1f068e704b3.tar.gz
hercules-5a22b0445416dbf7d0a0ddd95d31c1f068e704b3.tar.bz2
hercules-5a22b0445416dbf7d0a0ddd95d31c1f068e704b3.tar.xz
hercules-5a22b0445416dbf7d0a0ddd95d31c1f068e704b3.zip
Added iDuel interface (duel.c)
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 11e775dea..ee2e62e92 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6733,9 +6733,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
// Leave duel if you die [LuzZza]
if(battle_config.duel_autoleave_when_die) {
if(sd->duel_group > 0)
- duel_leave(sd->duel_group, sd);
+ iDuel->leave(sd->duel_group, sd);
if(sd->duel_invite > 0)
- duel_reject(sd->duel_invite, sd);
+ iDuel->reject(sd->duel_invite, sd);
}
if (sd->npc_id && sd->st && sd->st->state != RUN)