summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-07 02:52:03 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-07 02:52:03 +0000
commita1feda545433edf86258efe0394b4d6027a461e8 (patch)
treec512aaee8502d4399df8b482dc8bf0dcfc0183b0 /src/map/map.c
parentbaf58e38ae2bcc6e3b8fb0de650234cb29dff8b5 (diff)
downloadhercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.gz
hercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.bz2
hercules-a1feda545433edf86258efe0394b4d6027a461e8.tar.xz
hercules-a1feda545433edf86258efe0394b4d6027a461e8.zip
Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12763 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 688956f62..f4b5edfe6 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1607,6 +1607,9 @@ int map_quit(struct map_session_data *sd)
status_change_end(&sd->bl,SC_EXPLOSIONSPIRITS,-1);
if(sd->sc.data[SC_REGENERATION] && sd->sc.data[SC_REGENERATION]->val4)
status_change_end(&sd->bl,SC_REGENERATION,-1);
+ //TO-DO Probably there are way more NPC_type negative status that are removed
+ if(sd->sc.data[SC_CHANGEUNDEAD])
+ status_change_end(&sd->bl,SC_CHANGEUNDEAD,-1);
}
if (battle_config.debuff_on_logout&2)
{