summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-10 19:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-10 19:31:42 +0300
commit675b9f793e5b36862294e4f0419c5cf2eab72164 (patch)
tree2750b8d336e6f670f4684a55800195f025cb846f /src/resources/db/itemdb.h
parent495110a8cb407548e227b062f6446b8eaa9605d0 (diff)
downloadManaVerse-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.gz
ManaVerse-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.bz2
ManaVerse-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.xz
ManaVerse-675b9f793e5b36862294e4f0419c5cf2eab72164.zip
Fix some asserts in text command editor.
Diffstat (limited to 'src/resources/db/itemdb.h')
-rw-r--r--src/resources/db/itemdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h
index 96de60b6a..1515d3ba0 100644
--- a/src/resources/db/itemdb.h
+++ b/src/resources/db/itemdb.h
@@ -49,6 +49,7 @@ namespace ItemDB
const StringVect &getTags();
bool exists(const int id) A_WARN_UNUSED;
+ bool exists(const std::string &name) A_WARN_UNUSED;
const ItemInfo &get(const int id) A_WARN_UNUSED;
const ItemInfo &get(const std::string &name) A_WARN_UNUSED;