DrawableModel: replaced more names

This commit is contained in:
Carmine
2018-01-04 10:35:38 +01:00
Unverified
parent 4f87bf5d98
commit b6cbcb6ea7
4 changed files with 20 additions and 11 deletions
+2 -2
View File
@@ -135,8 +135,8 @@ namespace CodeWalker.GameFiles
private void LoadMapParentTxds(string xml)
{
XmlDocument xmldoc = new XmlDocument();
xmldoc.LoadXml(xml);
XmlNodeList items = xmldoc.SelectNodes("CMapParentTxds/txdRelationships/Item");
xmldoc.LoadXml(xml); //maybe better load xml.ToLower() and use "cmapparenttxds/txdrelationships/item" as xpath?
XmlNodeList items = xmldoc.SelectNodes("CMapParentTxds/txdRelationships/Item | CMapParentTxds/txdRelationships/item");
CMapParentTxds = new Dictionary<string, string>();
for (int i = 0; i < items.Count; i++)