summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-09-23 02:04:43 +0200
committerGitHub <noreply@github.com>2019-09-23 02:04:43 +0200
commit579064db1eb50e73558dc8e81e81dd7a24f3b246 (patch)
tree48d1bb149fee8d3e4a27303d50d41d432c24fe8b /src/map/clif.c
parent7121899a562856863984ce90268e9af37769b346 (diff)
parent3be1dd0c728e31743c793c78ceab97b2391fb3ac (diff)
downloadhercules-579064db1eb50e73558dc8e81e81dd7a24f3b246.tar.gz
hercules-579064db1eb50e73558dc8e81e81dd7a24f3b246.tar.bz2
hercules-579064db1eb50e73558dc8e81e81dd7a24f3b246.tar.xz
hercules-579064db1eb50e73558dc8e81e81dd7a24f3b246.zip
Merge pull request #2535 from HerculesWS/itemdb_violation
Fixed several issues in itemdb_search_name function
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 0748558fa..1ed5e1d9f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -15323,7 +15323,7 @@ static void clif_parse_GM_Monster_Item(int fd, struct map_session_data *sd)
safestrncpy(item_monster_name, p->str, sizeof(item_monster_name));
- if ( (count=itemdb->search_name_array(item_array, 10, item_monster_name, 1)) > 0 ) {
+ if ( (count=itemdb->search_name_array(item_array, 10, item_monster_name, IT_SEARCH_NAME_EXACT)) > 0 ) {
for(i = 0; i < count; i++) {
if( !item_array[i] )
continue;