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 8c25f823b..d665950dd 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -764,7 +764,7 @@ int skill_get_range2 (struct block_list *bl, int id, int lv)
{
int range = skill_get_range(id, lv);
if(range < 0) {
- if (battle_config.use_weapon_skill_range)
+ if (battle_config.use_weapon_skill_range&bl->type)
return status_get_range(bl);
range *=-1;
}