diff options
author | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-17 17:44:16 +0000 |
---|---|---|
committer | cookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-17 17:44:16 +0000 |
commit | 2edfe235206b66e77d8f6af7c414b4423e98aec9 (patch) | |
tree | f6c0165528d92f64a7a2d4eb1f5e46d1200a6af5 /src/map/status.c | |
parent | c33744d4e47421bb0eb3f3e86a4555e6d35518a2 (diff) | |
download | hercules-2edfe235206b66e77d8f6af7c414b4423e98aec9.tar.gz hercules-2edfe235206b66e77d8f6af7c414b4423e98aec9.tar.bz2 hercules-2edfe235206b66e77d8f6af7c414b4423e98aec9.tar.xz hercules-2edfe235206b66e77d8f6af7c414b4423e98aec9.zip |
Follow up to r16647, fixed bugreport:5534. Moved the fix from skill.c to status.c.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16654 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 18b5a343b..c314aae3f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6824,6 +6824,12 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val if( type != SC_GT_CHANGE ) status_change_end(bl, SC_GT_CHANGE, INVALID_TIMER); break; + case SC_INVINCIBLE: + status_change_end(bl, SC_INVINCIBLEOFF, INVALID_TIMER); + break; + case SC_INVINCIBLEOFF: + status_change_end(bl, SC_INVINCIBLE, INVALID_TIMER); + break; } //Check for overlapping fails |