Move special_filter/ templates to special/filter/.

This should help with simplifying the (un)placeable filtering again.

Reviewed By: fatherbushido
Differential Revision: https://code.wildfiregames.com/D934
This was SVN commit r20242.
This commit is contained in:
leper
2017-09-30 07:14:35 +00:00
parent a85c532f8f
commit ff7511d9fc
10 changed files with 2 additions and 2 deletions
@@ -221,7 +221,7 @@ AIInterface.prototype.OnTemplateModification = function(msg)
{
// Remove templates that we obviously don't care about.
if (templateName.startsWith("rubble/") || templateName.startsWith("skirmish/") ||
templateName.startsWith("special_filter/"))
templateName.startsWith("special/filter/"))
continue;
let template = cmpTemplateManager.GetTemplateWithoutValidation(templateName);
if (!template || !template.Identity || !template.Identity.Civ)
+1 -1
View File
@@ -62,7 +62,7 @@ bool CTemplateLoader::LoadTemplateFile(const std::string& templateName, int dept
return false;
}
VfsPath path = VfsPath(TEMPLATE_ROOT) / L"special_filter" / wstring_from_utf8(prefix + ".xml");
VfsPath path = VfsPath(TEMPLATE_ROOT) / L"special" / L"filter" / wstring_from_utf8(prefix + ".xml");
if (!VfsFileExists(path))
{
LOGERROR("Invalid subset '%s'", prefix.c_str());