summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-04-03 00:04:17 +0200
committerGitHub <noreply@github.com>2018-04-03 00:04:17 +0200
commit237fd6d094d698f22dceccfb87e7957cdcf1af3d (patch)
treef967ad604e6e9ba91cc084fe4336c3dda1487ba9 /src/map/unit.c
parent112c34e0e1b92397f0df7eea459fcbac946d340b (diff)
parent1f5fc491881f1a75c261e6c2321c6b92eb2d01bc (diff)
downloadhercules-237fd6d094d698f22dceccfb87e7957cdcf1af3d.tar.gz
hercules-237fd6d094d698f22dceccfb87e7957cdcf1af3d.tar.bz2
hercules-237fd6d094d698f22dceccfb87e7957cdcf1af3d.tar.xz
hercules-237fd6d094d698f22dceccfb87e7957cdcf1af3d.zip
Merge pull request #1965 from dastgir/2018/3-hateffect
Implemented HatEffect
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index c40aa7000..64bd17edc 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2766,6 +2766,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
}
VECTOR_CLEAR(sd->script_queues);
VECTOR_CLEAR(sd->storage.item);
+ VECTOR_CLEAR(sd->hatEffectId);
sd->storage.received = false;
if( sd->quest_log != NULL ) {
aFree(sd->quest_log);