From 132cc722fa490310b6e08a5cfe17625c8cf8baf1 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Wed, 7 Feb 2018 13:46:54 +0530 Subject: Implemented hatEffect. Allows the player to have hatEffect specialeffects. Base taken from rAthena --- src/map/unit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 6e98fc093..fcad73188 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2760,6 +2760,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); -- cgit v1.2.3-60-g2f50