From eb5205ba5ba276ef8fb3487517085f363d5c84bb Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 8 Jun 2008 13:06:08 +0000 Subject: 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 --- src/map/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') 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"), -- cgit v1.2.3-70-g09d2