summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-21 15:26:32 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-21 15:26:32 +0000
commitb37efb0fe8c81e15c1cee646cc8c7bf344c9ead6 (patch)
treed8cb52fee8bf4d3410262312d430c7d6ea635264 /src/map/unit.c
parent7475d4859a56a988fc36372a277c0c007d0123a5 (diff)
downloadhercules-b37efb0fe8c81e15c1cee646cc8c7bf344c9ead6.tar.gz
hercules-b37efb0fe8c81e15c1cee646cc8c7bf344c9ead6.tar.bz2
hercules-b37efb0fe8c81e15c1cee646cc8c7bf344c9ead6.tar.xz
hercules-b37efb0fe8c81e15c1cee646cc8c7bf344c9ead6.zip
- Fixed Spell Fist being unable to cast while casting a bolt skill (bugreport:5597)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 17ee9f481..2655fce4c 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1080,7 +1080,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
return 0;
//Normally not needed because clif.c checks for it, but the at/char/script commands don't! [Skotlex]
- if(ud->skilltimer != INVALID_TIMER && skill_num != SA_CASTCANCEL)
+ if(ud->skilltimer != INVALID_TIMER && skill_num != SA_CASTCANCEL && skill_num != SO_SPELLFIST)
return 0;
if(skill_get_inf2(skill_num)&INF2_NO_TARGET_SELF && src->id == target_id)
@@ -1094,6 +1094,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
if(sd) {
switch(skill_num){
case SA_CASTCANCEL:
+ case SO_SPELLFIST:
if(ud->skillid != skill_num){
sd->skillid_old = ud->skillid;
sd->skilllv_old = ud->skilllv;