diff options
Diffstat (limited to 'src/resources/beingcommon.cpp')
-rw-r--r-- | src/resources/beingcommon.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp index 999b19980..67aeea4fb 100644 --- a/src/resources/beingcommon.cpp +++ b/src/resources/beingcommon.cpp @@ -82,22 +82,6 @@ void BeingCommon::readBasicAttributes(BeingInfo *const info, info->setBlockWalkMask(static_cast<unsigned char>(block ^ allFlags)); } -void BeingCommon::getIncludeFiles(const std::string &dir, - StringVect &list, - const std::string &ext) -{ - const std::string path = dir + "/"; - StringVect tempList; - Files::getFilesWithDir(path, tempList); - FOR_EACH (StringVectCIter, it, tempList) - { - const std::string &str = *it; - if (findLast(str, ext)) - list.push_back(str); - } - std::sort(list.begin(), list.end()); -} - bool BeingCommon::readObjectNodes(XmlNodePtrConst &spriteNode, SpriteDisplay &display, BeingInfo *const currentInfo, |