summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/units.cpp')
-rw-r--r--src/units.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/units.cpp b/src/units.cpp
index 0c31e1553..7260acf68 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -28,6 +28,8 @@
#include "utils/stringutils.h"
#include "utils/xml.h"
+#include "resources/beingcommon.h"
+
#include <climits>
#include <vector>
@@ -104,6 +106,7 @@ void Units::loadUnits()
loadXmlFile(paths.getStringValue("unitsFile"));
loadXmlFile(paths.getStringValue("unitsPatchFile"));
+ loadXmlDir("unitsPatchDir", loadXmlFile);
}
void Units::loadXmlFile(const std::string &fileName)