summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-25 00:50:57 +0200
committerHaru <haru@dotalux.com>2013-09-25 00:50:57 +0200
commita67007e744f44a74746e0b658160ddc8179d2c0a (patch)
treed6536346cdc16eb7c6ab1759be23ca9983fb0012 /src/map/unit.c
parent44c9ba35b0bc2d9f4dc82db20be824e6e0d320e7 (diff)
downloadhercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.gz
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.bz2
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.xz
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.zip
Renamed iDuel interface to duel
- Note to plugin developers: change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel"). Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 0551baaea..1b5e2d072 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2177,7 +2177,7 @@ int unit_remove_map(struct block_list *bl, clr_type clrtype, const char* file, i
sd->pvp_rank = 0;
}
if(sd->duel_group > 0)
- iDuel->leave(sd->duel_group, sd);
+ duel->leave(sd->duel_group, sd);
if(pc_issit(sd)) {
pc->setstand(sd);
@@ -2354,7 +2354,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
pc->stop_following(sd);
if( sd->duel_invite > 0 )
- iDuel->reject(sd->duel_invite, sd);
+ duel->reject(sd->duel_invite, sd);
// Notify friends that this char logged out. [Skotlex]
iMap->map_foreachpc(clif->friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 0);