summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-06 20:18:07 +0100
committerGitHub <noreply@github.com>2018-02-06 20:18:07 +0100
commit19c94017a31d86f7848085162ffb741770975128 (patch)
tree33a5cf4b2a580a07f1b3868153123fe4dce49f2f /src/map/unit.c
parenta928f009f5a7bad77eda090ec7af551c2f647d5b (diff)
parent587dd19c0269b3c8089838a5442260a185b19ead (diff)
downloadhercules-19c94017a31d86f7848085162ffb741770975128.tar.gz
hercules-19c94017a31d86f7848085162ffb741770975128.tar.bz2
hercules-19c94017a31d86f7848085162ffb741770975128.tar.xz
hercules-19c94017a31d86f7848085162ffb741770975128.zip
Merge pull request #1718 from Murilo-BiO/clan_system
Implementation of Official Clan System
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 0b5b21caf..6e98fc093 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -27,6 +27,7 @@
#include "map/battleground.h"
#include "map/chat.h"
#include "map/chrif.h"
+#include "map/clan.h"
#include "map/clif.h"
#include "map/duel.h"
#include "map/elemental.h"
@@ -2725,6 +2726,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
map->foreachpc(clif->friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 0);
party->send_logout(sd);
guild->send_memberinfoshort(sd,0);
+ clan->member_offline(sd);
pc->cleareventtimer(sd);
pc->inventory_rental_clear(sd);
pc->delspiritball(sd,sd->spiritball,1);