summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 12:59:34 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 12:59:34 +0000
commita8403380c4c7b0b2c45f29e4a31645ebcafc2b4e (patch)
tree7e94bcc757148fefa1cf14087713be2474c20451 /src/map
parentf8d38e5c0a8e8bd9fd7da214ee51ef90e6426660 (diff)
downloadhercules-a8403380c4c7b0b2c45f29e4a31645ebcafc2b4e.tar.gz
hercules-a8403380c4c7b0b2c45f29e4a31645ebcafc2b4e.tar.bz2
hercules-a8403380c4c7b0b2c45f29e4a31645ebcafc2b4e.tar.xz
hercules-a8403380c4c7b0b2c45f29e4a31645ebcafc2b4e.zip
Fixed multiple casts of NPC_REBIRTH interfering with activation of mob death events.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13287 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 86ec51f33..0923748da 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4610,6 +4610,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_REBIRTH:
+ if( md && md->state.rebirth )
+ break; // only works once
sc_start(bl,type,100,skilllv,-1);
break;