From 179267151817a6794de457068e61b26be4217bd8 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 15 Mar 2015 14:33:34 -0300 Subject: Fixed Bug 8575 Blame goes to 8aee60e91807930e4d43965a20c8991b416d7f29 http://hercules.ws/board/tracker/issue-8575-effects-arent-removed-when-time-gets-to-0/ Signed-off-by: shennetsind --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index c2b634665..c2640c070 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9785,7 +9785,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const sd = BL_CAST(BL_PC,bl); - if (sce->timer != tid && tid != INVALID_TIMER) + if (sce->timer != tid && tid != INVALID_TIMER && sce->timer != INVALID_TIMER) return 0; st = status->get_status_data(bl); -- cgit v1.2.3-70-g09d2