summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 20:02:01 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-03 20:02:01 +0000
commit87689fc8de53744d07fed292831e7b93eb24ed51 (patch)
tree5fd5a5c2d4708691e9cd7a0fcbc354bf86ef9eda /src/map/unit.c
parentddc62c278c2b30250ef21c9888cbb22fe59573c2 (diff)
downloadhercules-87689fc8de53744d07fed292831e7b93eb24ed51.tar.gz
hercules-87689fc8de53744d07fed292831e7b93eb24ed51.tar.bz2
hercules-87689fc8de53744d07fed292831e7b93eb24ed51.tar.xz
hercules-87689fc8de53744d07fed292831e7b93eb24ed51.zip
* Replaced some literals with enum values.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16074 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index e00d0101e..320a66bf7 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1133,7 +1133,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
break;
case WL_WHITEIMPRISON:
if( battle_check_target(src,target,BCT_SELF|BCT_ENEMY) < 0 ) {
- clif_skill_fail(sd,skill_num,0xb,0);
+ clif_skill_fail(sd,skill_num,USESKILL_FAIL_TOTARGET,0);
return 0;
}
break;