summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 19:56:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 19:56:01 +0000
commitfea1f5fe47668fb1119c7805bcc934fc8b30579a (patch)
treeb3078d0a37f5c149977d80bd0112738f747bcbfd /src/map/status.c
parenta072cb579041699023f5197ffcb303acef112e2f (diff)
downloadhercules-fea1f5fe47668fb1119c7805bcc934fc8b30579a.tar.gz
hercules-fea1f5fe47668fb1119c7805bcc934fc8b30579a.tar.bz2
hercules-fea1f5fe47668fb1119c7805bcc934fc8b30579a.tar.xz
hercules-fea1f5fe47668fb1119c7805bcc934fc8b30579a.zip
- Fixed Devotion not properly being cleared on death/near death in some cases.
- Fixed Shield-Reflect not being correctly ended when devotion does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5720 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ba769b15c..1cb91abc2 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4890,6 +4890,8 @@ int status_change_end( struct block_list* bl , int type,int tid )
status_change_end(bl,SC_AUTOGUARD,-1);
if (sc->data[SC_DEFENDER].timer != -1)
status_change_end(bl,SC_DEFENDER,-1);
+ if (sc->data[SC_REFLECTSHIELD].timer != -1)
+ status_change_end(bl,SC_REFLECTSHIELD,-1);
}
break;
case SC_BLADESTOP: