mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
XML validation. Based on patch by historic_bruno. Refs #245.
This was SVN commit r16733.
This commit is contained in:
@@ -96,7 +96,7 @@ void CTextureConverter::Settings::Hash(MD5& hash)
|
||||
CTextureConverter::SettingsFile* CTextureConverter::LoadSettings(const VfsPath& path) const
|
||||
{
|
||||
CXeromyces XeroFile;
|
||||
if (XeroFile.Load(m_VFS, path) != PSRETURN_OK)
|
||||
if (XeroFile.Load(m_VFS, path, "texture") != PSRETURN_OK)
|
||||
return NULL;
|
||||
|
||||
// Define all the elements used in the XML file
|
||||
|
||||
Reference in New Issue
Block a user