summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2018-06-03 17:14:54 +0530
committerAsheraf <acheraf1998@gmail.com>2018-07-24 21:41:28 +0100
commit7f5b041efd88bae052c98e1bd1c5e28676c73272 (patch)
treed57e33db4aa0022958f0d10a452fe3d3504717f1 /src/map/unit.c
parent19aa33a5f61f0996d76d19db7dbe9d81f5daa090 (diff)
downloadhercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.gz
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.bz2
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.xz
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.zip
Implemented Title System.
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 91f7e0acd..9174bdccd 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2768,6 +2768,7 @@ static int unit_free(struct block_list *bl, clr_type clrtype)
VECTOR_CLEAR(sd->achievement); // Achievement [Smokexyz/Hercules]
VECTOR_CLEAR(sd->storage.item);
VECTOR_CLEAR(sd->hatEffectId);
+ VECTOR_CLEAR(sd->title_ids); // Title [Dastgir/Hercules]
sd->storage.received = false;
if( sd->quest_log != NULL ) {
aFree(sd->quest_log);