summaryrefslogtreecommitdiff
path: root/src/resources/db/sounddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/sounddb.cpp')
-rw-r--r--src/resources/db/sounddb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/sounddb.cpp b/src/resources/db/sounddb.cpp
index a179eb2ff..ad98b2705 100644
--- a/src/resources/db/sounddb.cpp
+++ b/src/resources/db/sounddb.cpp
@@ -26,6 +26,8 @@
#include "utils/xml.h"
+#include "resources/beingcommon.h"
+
#include "debug.h"
namespace
@@ -39,6 +41,7 @@ void SoundDB::load()
unload();
loadXmlFile(paths.getStringValue("soundsFile"));
loadXmlFile(paths.getStringValue("soundsPatchFile"));
+ loadXmlDir("soundsPatchDir", loadXmlFile);
}
void SoundDB::loadXmlFile(const std::string &fileName)