diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-24 18:46:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-24 18:46:47 +0000 |
commit | ba3e9dafc6864419dadbc93cb22d017cfeb93b10 (patch) | |
tree | 09c22fa634b14dcdaa2e417cd324ae7694d520ea /src/map/skill.c | |
parent | ed8f721679a82f81af62ece387d8cef66b3eec89 (diff) | |
download | hercules-ba3e9dafc6864419dadbc93cb22d017cfeb93b10.tar.gz hercules-ba3e9dafc6864419dadbc93cb22d017cfeb93b10.tar.bz2 hercules-ba3e9dafc6864419dadbc93cb22d017cfeb93b10.tar.xz hercules-ba3e9dafc6864419dadbc93cb22d017cfeb93b10.zip |
- Fixed skillidx not being set whenever a mob uses a skill.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5734 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 786a3b17d..38e6f987b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4793,7 +4793,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NPC_PROVOCATION:
clif_skill_nodamage(src,bl,skillid,skilllv,1);
- if(md)
+ if(md && md->skillidx >= 0)
clif_pet_performance(src,md->db->skill[md->skillidx].val[0]);
break;
|