summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-10 10:06:05 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-10 10:06:05 +0000
commite551e39b0911880c0f89f1c37666792bde7c49b3 (patch)
treed5fb588d55bb72643c15357366b09f9e270fa65d /src/map/mob.c
parentb17ad90eaf719b1165a681a5b4c4760b8d292f42 (diff)
downloadhercules-e551e39b0911880c0f89f1c37666792bde7c49b3.tar.gz
hercules-e551e39b0911880c0f89f1c37666792bde7c49b3.tar.bz2
hercules-e551e39b0911880c0f89f1c37666792bde7c49b3.tar.xz
hercules-e551e39b0911880c0f89f1c37666792bde7c49b3.zip
Slightly corrected the NPC_REBIRTH code from r13272.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13274 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 0c6ada573..22777a70a 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2313,7 +2313,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
//Emperium destroyed by script. Discard mvp character. [Skotlex]
mvp_sd = NULL;
- if( !md->sc.data[SC_REBIRTH] )
+ if( !md->sc.data[SC_KAIZEL] && !md->sc.data[SC_REBIRTH] )
{ // Only trigger event on final kill
md->status.hp = 0; //So that npc_event invoked functions KNOW that mob is dead
if( src )