summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp5
-rw-r--r--src/resources/db/itemdb.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 0fda7e736..d79f75933 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -1074,4 +1074,9 @@ ItemDB::NamedItemInfos &ItemDB::getNamedItemInfosTest()
{
return mNamedItemInfos;
}
+
+ItemDB::ItemInfos &ItemDB::getItemInfosTest()
+{
+ return mItemInfos;
+}
#endif
diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h
index b0aceef32..cc94145ab 100644
--- a/src/resources/db/itemdb.h
+++ b/src/resources/db/itemdb.h
@@ -72,6 +72,8 @@ namespace ItemDB
#ifdef UNITTESTS
ItemDB::NamedItemInfos &getNamedItemInfosTest();
+
+ ItemDB::ItemInfos &getItemInfosTest();
#endif
int getTagId(const std::string &tagName) A_WARN_UNUSED;