From 47d5b323e868184cea1fdcff5d0c3f2717c83564 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 25 Apr 2013 09:52:42 -0300 Subject: Fixed Bug #7188 http://hercules.ws/board/tracker/issue-7188-delitem-script-command-failed Signed-off-by: shennetsind --- 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 c847179df..6cc235ad1 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6540,11 +6540,11 @@ static bool buildin_delitem_search(struct map_session_data* sd, struct item* it, if( amount ) {// not enough items - return true; + return false; } else if( delete_items ) {// we are done with the work - return false; + return true; } else {// get rid of the items now -- cgit v1.2.3-70-g09d2