summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-04 11:01:24 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-04 11:01:24 +0000
commita39b509e0d987d907f48893478da07fc4969a8cd (patch)
tree48eaa8497a0ccbdfa94ef6b1071b8d715f572e4f /src
parentd4db7786bb9270c7007ba3e427a6f8bc99ff7551 (diff)
downloadhercules-a39b509e0d987d907f48893478da07fc4969a8cd.tar.gz
hercules-a39b509e0d987d907f48893478da07fc4969a8cd.tar.bz2
hercules-a39b509e0d987d907f48893478da07fc4969a8cd.tar.xz
hercules-a39b509e0d987d907f48893478da07fc4969a8cd.zip
Fixed NPC_REBIRTH not working if the caster had no status active at the moment of death.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13258 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b862137f3..9c04f8364 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -654,9 +654,6 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
sc = status_get_sc(target);
- if (sc && !sc->count)
- sc = NULL;
-
if( hp && !(flag&1) ) {
if( sc ) {
struct status_change_entry *sce;