summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-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 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