summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index b8e49a2db..b4af71c17 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -1055,3 +1055,10 @@ static void loadOrderSprite(ItemInfo *const itemInfo,
itemInfo->setDrawBefore(direction, sprite);
itemInfo->setDrawPriority(direction, priority);
}
+
+#ifdef UNITTESTS
+ItemDB::NamedItemInfos &ItemDB::getNamedItemInfosTest()
+{
+ return mNamedItemInfos;
+}
+#endif