summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGmOcean <hyperassassin@gmail.com>2014-12-06 13:05:23 -1000
committerGmOcean <hyperassassin@gmail.com>2014-12-06 13:05:23 -1000
commit4b205d66cda8872f999ae0c8cf9d49048fcf77a5 (patch)
treeb32995b952dfb84428413fcee059658d068f2a69
parentedd28d17d2bda6824c7e2b445bebfc93152271cc (diff)
downloadhercules-4b205d66cda8872f999ae0c8cf9d49048fcf77a5.tar.gz
hercules-4b205d66cda8872f999ae0c8cf9d49048fcf77a5.tar.bz2
hercules-4b205d66cda8872f999ae0c8cf9d49048fcf77a5.tar.xz
hercules-4b205d66cda8872f999ae0c8cf9d49048fcf77a5.zip
Removed extra ? in *equip2 code.
-rw-r--r--doc/script_commands.txt2
-rw-r--r--src/map/script.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index b184444cd..556401d2f 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5321,7 +5321,7 @@ Examples:
//inventory.
equip 1104;
-//This will equip a +10 1104 (falchion)on the character if this is in the
+//This will equip a +10 1104 (falchion) on the character if this is in the
//inventory.
equip2 1104,10,0,0,0,0,0;
diff --git a/src/map/script.c b/src/map/script.c
index ea1f14ac9..5fecd6b64 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19513,7 +19513,7 @@ void script_parse_builtin(void) {
BUILDIN_DEF(npcshopattach,"s?"),
BUILDIN_DEF(equip,"i"),
BUILDIN_DEF(autoequip,"ii"),
- BUILDIN_DEF(equip2,"iiiiiii?"),
+ BUILDIN_DEF(equip2,"iiiiiii"),
BUILDIN_DEF(setbattleflag,"si"),
BUILDIN_DEF(getbattleflag,"s"),
BUILDIN_DEF(setitemscript,"is?"), //Set NEW item bonus script. Lupus