diff options
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index ba3dc6ce4..3b4d5d216 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1036,7 +1036,7 @@ static struct Damage battle_calc_weapon_attack( } else if (status_get_range(src) > 3)
wd.flag=(wd.flag&~BF_RANGEMASK)|BF_LONG;
- if(skill_num && skill_get_arrowtype(skill_num)) {
+ if(skill_num && skill_get_ammotype(skill_num)) {
//Skills that require a consumable are also long-ranged arrow-types
wd.flag=(wd.flag&~BF_RANGEMASK)|BF_LONG;
flag.arrow = 1;
|