summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5bd4f3aed..4115d08d8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1602,7 +1602,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
if ((type = pc_checkskill(tsd,RG_PLAGIARISM)) < lv)
lv = type;
//kRO Update makes it impossible to copy skills beyond the skill_db max.
- if ((type = skill_get_max(RG_PLAGIARISM)) < lv)
+ if ((type = skill_get_max(skillid)) < lv)
lv = type;
tsd->cloneskill_id = skillid;