summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-08 13:06:08 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-08 13:06:08 +0000
commiteb5205ba5ba276ef8fb3487517085f363d5c84bb (patch)
tree0fb8cd9d60636035682592c03599fd69d898889f /src/map
parent5f686a30412eefcfaebbd1fe72e83dcaca21ce19 (diff)
downloadhercules-eb5205ba5ba276ef8fb3487517085f363d5c84bb.tar.gz
hercules-eb5205ba5ba276ef8fb3487517085f363d5c84bb.tar.bz2
hercules-eb5205ba5ba276ef8fb3487517085f363d5c84bb.tar.xz
hercules-eb5205ba5ba276ef8fb3487517085f363d5c84bb.zip
Corrected definition of 'delitem' and 'delitem2', which prevented the optional accountid parameter from working (bugreport:1512).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12792 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a6340a2f5..83c9f31ef 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -13307,8 +13307,8 @@ struct script_function buildin_func[] = {
BUILDIN_DEF(getnameditem,"is"),
BUILDIN_DEF2(grouprandomitem,"groupranditem","i"),
BUILDIN_DEF(makeitem,"iisii"),
- BUILDIN_DEF(delitem,"ii"),
- BUILDIN_DEF(delitem2,"iiiiiiiii"),
+ BUILDIN_DEF(delitem,"ii?"),
+ BUILDIN_DEF(delitem2,"iiiiiiiii?"),
BUILDIN_DEF2(enableitemuse,"enable_items",""),
BUILDIN_DEF2(disableitemuse,"disable_items",""),
BUILDIN_DEF(cutin,"si"),