summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-08 00:41:29 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-12-08 00:41:29 +0000
commita4d6b075c340b703f0595919e1db137b9b916241 (patch)
tree3a3cbeba8d36fe71f6b63d9f07cbe2445fda571e /src/map/skill.c
parent9cbe9f602ad5eee5dc4b2f886afc9de7aaca0d0d (diff)
downloadhercules-a4d6b075c340b703f0595919e1db137b9b916241.tar.gz
hercules-a4d6b075c340b703f0595919e1db137b9b916241.tar.bz2
hercules-a4d6b075c340b703f0595919e1db137b9b916241.tar.xz
hercules-a4d6b075c340b703f0595919e1db137b9b916241.zip
Corrected a variable defined in a header file.
Cleaned up a bad case of variable recycling. Separated the ALL_WEWISH case from the unrelated sage skill cases (undo of r14183). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14190 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 40fab6b22..864aa3b7d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3441,7 +3441,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case SA_QUESTION:
case SA_GRAVITY:
- case ALL_WEWISH:
clif_skill_nodamage(src,bl,skillid,skilllv,1);
break;
case SA_CLASSCHANGE:
@@ -5697,6 +5696,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
skill_castend_nodamage_id);
}
break;
+ case ALL_WEWISH:
+ clif_skill_nodamage(src,bl,skillid,skilllv,1);
+ break;
default:
ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid);
clif_skill_nodamage(src,bl,skillid,skilllv,1);