diff options
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 dce211fc9..194145e58 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1932,6 +1932,7 @@ int unit_free(struct block_list *bl, int clrtype) pc_delinvincibletimer(sd); pc_autoscript_clear(sd->autoscript, ARRAYLENGTH(sd->autoscript)); pc_autoscript_clear(sd->autoscript2, ARRAYLENGTH(sd->autoscript2)); + pc_autoscript_clear(sd->autoscript3, ARRAYLENGTH(sd->autoscript3)); if( sd->followtimer != -1 ) pc_stop_following(sd); |