summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-31 17:43:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-31 17:43:24 +0000
commit8798c74ee34dd5c42873abfb0a93e7efd892a3c9 (patch)
tree66504fea5566a9832f91b883e356e34882dfa716 /src/map/battle.c
parent8188128698408ab4caf7809e98943402bdc116cc (diff)
downloadhercules-8798c74ee34dd5c42873abfb0a93e7efd892a3c9.tar.gz
hercules-8798c74ee34dd5c42873abfb0a93e7efd892a3c9.tar.bz2
hercules-8798c74ee34dd5c42873abfb0a93e7efd892a3c9.tar.xz
hercules-8798c74ee34dd5c42873abfb0a93e7efd892a3c9.zip
- Changed the terminology from arrow to ammo for the last update.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5830 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
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;