summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
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)
{