From fea1f5fe47668fb1119c7805bcc934fc8b30579a Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 23 Mar 2006 19:56:01 +0000 Subject: - 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 --- src/map/pc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 40b323f46..03ec2c512 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4633,6 +4633,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage) if (sd->devotion[i]){ struct map_session_data *devsd = map_id2sd(sd->devotion[i]); if (devsd) status_change_end(&devsd->bl,SC_DEVOTION,-1); + sd->devotion[i] = 0; } } -- cgit v1.2.3-70-g09d2