summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2013-10-25 11:58:03 -0500
committerBen Longbons <b.r.longbons@gmail.com>2013-11-09 19:29:08 -0800
commit8c5e10e8ee6dc0d496d50b5365e6c3be7750fbfa (patch)
treea85c9a9f1cb94c4b82a862cd41b826d6641cedbb /src/map
parentbe870a6ed796af00a3c1c2f23cd189bf33fc6a4c (diff)
downloadtmwa-8c5e10e8ee6dc0d496d50b5365e6c3be7750fbfa.tar.gz
tmwa-8c5e10e8ee6dc0d496d50b5365e6c3be7750fbfa.tar.bz2
tmwa-8c5e10e8ee6dc0d496d50b5365e6c3be7750fbfa.tar.xz
tmwa-8c5e10e8ee6dc0d496d50b5365e6c3be7750fbfa.zip
Fixes issue with getequipid(equip_arrow)
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.cpp b/src/map/script.cpp
index b201ada..4b009b1 100644
--- a/src/map/script.cpp
+++ b/src/map/script.cpp
@@ -2165,7 +2165,7 @@ void builtin_strcharinfo(ScriptState *st)
// indexed by the equip_* in db/const.txt
// TODO change to use EQUIP
static
-EPOS equip[10] =
+EPOS equip[11] =
{
EPOS::HAT,
EPOS::MISC1,
@@ -2177,6 +2177,7 @@ EPOS equip[10] =
EPOS::MISC2,
EPOS::TORSO,
EPOS::LEGS,
+ EPOS::ARROW,
};
/*==========================================