diff options
author | Dastgir <dastgirp@gmail.com> | 2018-02-07 13:46:54 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2018-02-09 21:54:42 +0530 |
commit | 132cc722fa490310b6e08a5cfe17625c8cf8baf1 (patch) | |
tree | 99f960c62aeca1233850dfa4e38f164e75ff2a69 /src/map/unit.c | |
parent | 19c94017a31d86f7848085162ffb741770975128 (diff) | |
download | hercules-132cc722fa490310b6e08a5cfe17625c8cf8baf1.tar.gz hercules-132cc722fa490310b6e08a5cfe17625c8cf8baf1.tar.bz2 hercules-132cc722fa490310b6e08a5cfe17625c8cf8baf1.tar.xz hercules-132cc722fa490310b6e08a5cfe17625c8cf8baf1.zip |
Implemented hatEffect.
Allows the player to have hatEffect specialeffects.
Base taken from rAthena
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 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); |