summaryrefslogtreecommitdiffstats
path: root/gui/resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gui/resources.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/resources.cpp b/gui/resources.cpp
index 7a50a899b..8d430b1ec 100644
--- a/gui/resources.cpp
+++ b/gui/resources.cpp
@@ -183,6 +183,11 @@ Resource* ResourceManager::FindResource(std::string name)
ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
{
+ LoadResources(resList, pZip);
+}
+
+void ResourceManager::LoadResources(xml_node<>* resList, ZipArchive* pZip)
+{
xml_node<>* child;
if (!resList)