summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-07 10:55:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-07 10:55:59 +0000
commit2a31e8561e18bff403cef8c406e475ff4e7f630d (patch)
treee953b251ce5dcf0ec1122c4848b8d58b8b8a1dc6 /src/map/unit.c
parentabd0c3a98bbbe6bcd0425351207120a00babe329 (diff)
downloadhercules-2a31e8561e18bff403cef8c406e475ff4e7f630d.tar.gz
hercules-2a31e8561e18bff403cef8c406e475ff4e7f630d.tar.bz2
hercules-2a31e8561e18bff403cef8c406e475ff4e7f630d.tar.xz
hercules-2a31e8561e18bff403cef8c406e475ff4e7f630d.zip
- Fixed ensembles skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11869 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index cda650a63..5603c1ff0 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -899,10 +899,8 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
case BD_INTOABYSS:
case BD_SIEGFRIED:
case CG_MOONLIT:
- if (battle_config.player_skill_partner_check &&
- (!battle_config.gm_skilluncond || pc_isGM(sd) < battle_config.gm_skilluncond) &&
- (skill_check_pc_partner(sd, skill_num, &skill_lv, 1, 0) < 1)
- ) {
+ if (skill_check_pc_partner(sd, skill_num, &skill_lv, 1, 0) < 1)
+ {
clif_skill_fail(sd,skill_num,0,0);
return 0;
}