summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-22 18:27:51 -0300
committershennetsind <ind@henn.et>2014-03-22 18:27:51 -0300
commit4f7e8ea519e6b6a4a9bf50fabc08b182c47d8171 (patch)
tree60e4dce3dbd3f83c03eae1831200e7471fa3885f /src
parent17de8408fa79f286d65a4e35011c7524daf1202c (diff)
downloadhercules-4f7e8ea519e6b6a4a9bf50fabc08b182c47d8171.tar.gz
hercules-4f7e8ea519e6b6a4a9bf50fabc08b182c47d8171.tar.bz2
hercules-4f7e8ea519e6b6a4a9bf50fabc08b182c47d8171.tar.xz
hercules-4f7e8ea519e6b6a4a9bf50fabc08b182c47d8171.zip
Fixed a skill_castend_nodamage_id warning for SO_ELEMENTAL_SHIELD
skill_castend_nodamage_id: Unknown skill used:5008 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-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 08a8f69db..22d97fff1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9493,6 +9493,8 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
skill->blockhomun_start(hd, skill_id, skill->get_cooldown(skill_id, skill_lv));
}
break;
+ case SO_ELEMENTAL_SHIELD:/* somehow its handled outside this switch, so we need a empty case otherwise default would be triggered. */
+ break;
default:
ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skill_id);
clif->skill_nodamage(src,bl,skill_id,skill_lv,1);