summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-23 20:53:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-23 20:53:16 +0300
commit3fb968387deba0cbfd59d029aa6cf4789d68d09c (patch)
tree46eb904ec8efd5a0e7e9c69c005a383a51e50f85 /src/resources/db/itemdb.cpp
parent2b81fecc1c7c239e4b35312f46952e9b16029b67 (diff)
downloadplus-3fb968387deba0cbfd59d029aa6cf4789d68d09c.tar.gz
plus-3fb968387deba0cbfd59d029aa6cf4789d68d09c.tar.bz2
plus-3fb968387deba0cbfd59d029aa6cf4789d68d09c.tar.xz
plus-3fb968387deba0cbfd59d029aa6cf4789d68d09c.zip
Dont show asserts in pickup special packets.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 6c79c12e8..3438c59ad 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -780,6 +780,11 @@ const ItemDB::ItemInfos &ItemDB::getItemInfos()
return mItemInfos;
}
+const ItemInfo &ItemDB::getEmpty()
+{
+ return *mUnknown;
+}
+
static int parseSpriteName(const std::string &name)
{
int id = -1;