summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-20 20:24:13 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-20 20:24:13 +0000
commit4a440b794f190b5feed86f7c21fd02133164b1f6 (patch)
tree090c0f4430c3c76b5545b87a6b052639807fe730 /src/map/unit.c
parent6aeb035c372488df8b3775f8258c49772e682167 (diff)
downloadhercules-4a440b794f190b5feed86f7c21fd02133164b1f6.tar.gz
hercules-4a440b794f190b5feed86f7c21fd02133164b1f6.tar.bz2
hercules-4a440b794f190b5feed86f7c21fd02133164b1f6.tar.xz
hercules-4a440b794f190b5feed86f7c21fd02133164b1f6.zip
- Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos ('skill has failed' will may be appear 2 times)
- Fixed homunc skill 8016 not considered as homunc skill git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8386 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 3defad727..e04244469 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -733,9 +733,9 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
if(status_isdead(src))
return 0; // 死んでいないか
- if( BL_CAST( BL_PC, src, sd ) ) {
+ if( BL_CAST( BL_PC, src, sd ) )
ud = &sd->ud;
- } else
+ else
ud = unit_bl2ud(src);
if(ud == NULL) return 0;