summaryrefslogtreecommitdiff
path: root/src/map/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.cpp')
-rw-r--r--src/map/npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.cpp b/src/map/npc.cpp
index 1e164a5..bfba45f 100644
--- a/src/map/npc.cpp
+++ b/src/map/npc.cpp
@@ -1060,7 +1060,7 @@ bool extract(XString xs, npc_item_list *itv)
if (extract(name_or_id, &itv->nameid) && itv->nameid > 0)
goto return_true;
- id = itemdb_searchname(stringish<ItemName>(name_or_id.rstrip()));
+ id = itemdb_searchname(name_or_id.rstrip());
if (id == NULL)
return false;
itv->nameid = id->nameid;