summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/beingcommon.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp
index 5647d01e3..3e3a81cbf 100644
--- a/src/resources/beingcommon.cpp
+++ b/src/resources/beingcommon.cpp
@@ -20,6 +20,8 @@
#include "resources/beingcommon.h"
+#include "logger.h"
+
#include "utils/files.h"
#include "utils/physfstools.h"
#include "utils/stringutils.h"
@@ -51,7 +53,7 @@ void BeingCommon::readBasicAttributes(BeingInfo *const info, XmlNodePtr node,
void BeingCommon::getIncludeFiles(const std::string &dir, StringVect &list)
{
- const std::string path = dir + PhysFs::getDirSeparator();
+ const std::string path = dir + "/";
StringVect tempList;
Files::getFilesWithDir(path, tempList);
FOR_EACH (StringVectCIter, it, tempList)