summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-03-15 14:33:34 -0300
committershennetsind <ind@henn.et>2015-03-15 14:33:34 -0300
commit179267151817a6794de457068e61b26be4217bd8 (patch)
tree9029e4cac69f7ab2bb72f965e95ab5124ce5d2e4 /src
parentf88c46bbaf31108374b22e06b723d66036895249 (diff)
downloadhercules-179267151817a6794de457068e61b26be4217bd8.tar.gz
hercules-179267151817a6794de457068e61b26be4217bd8.tar.bz2
hercules-179267151817a6794de457068e61b26be4217bd8.tar.xz
hercules-179267151817a6794de457068e61b26be4217bd8.zip
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 <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
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);