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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9e88714fe..bad40b948 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -14684,7 +14684,7 @@ BUILDIN(searchitem)
if ((items[0] = itemdb->exists(atoi(itemname))))
count = 1;
else {
- count = itemdb->search_name_array(items, ARRAYLENGTH(items), itemname);
+ count = itemdb->search_name_array(items, ARRAYLENGTH(items), itemname, 0);
if (count > MAX_SEARCH) count = MAX_SEARCH;
}