diff options
author | Haru <haru@dotalux.com> | 2018-11-16 17:46:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-16 17:46:23 +0100 |
commit | 283d34b2e821097badee727564396d94c266aa96 (patch) | |
tree | c18c7ecd98d311e81d20b9cfc844af90c8ef9b8d /src/map/unit.c | |
parent | 1db2ef52d603e9944a912fcf350706a7a44202c9 (diff) | |
parent | 61016983c4eb29dc4a76050fa8920c6bcdc0a1fd (diff) | |
download | hercules-283d34b2e821097badee727564396d94c266aa96.tar.gz hercules-283d34b2e821097badee727564396d94c266aa96.tar.bz2 hercules-283d34b2e821097badee727564396d94c266aa96.tar.xz hercules-283d34b2e821097badee727564396d94c266aa96.zip |
Merge pull request #2322 from MishimaHaruna/fix-allychat-leaveguild
Fix allychat leaveguild
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 371be03db..ee856cb76 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2764,6 +2764,7 @@ static int unit_free(struct block_list *bl, clr_type clrtype) aFree(sd->instance); sd->instance = NULL; } + VECTOR_CLEAR(sd->channels); VECTOR_CLEAR(sd->script_queues); VECTOR_CLEAR(sd->achievement); // Achievement [Smokexyz/Hercules] VECTOR_CLEAR(sd->storage.item); |