diff --git a/GameFiles/MetaTypes/MetaXml.cs b/GameFiles/MetaTypes/MetaXml.cs index 03cc39e..5245a59 100644 --- a/GameFiles/MetaTypes/MetaXml.cs +++ b/GameFiles/MetaTypes/MetaXml.cs @@ -1029,9 +1029,9 @@ namespace CodeWalker.GameFiles { ErrorXml(sb, aind, ename + ": Map struct type not found: " + HashString(xBlock.NameHash)); } - else if ((xStruct.IndexInfo == null) || (xStruct.IndexInfo.NameHash != MetaName.ARRAYINFO)) + else if ((xStruct.IndexInfo == null))// || (xStruct.IndexInfo.NameHash != MetaName.ARRAYINFO)) { - ErrorXml(sb, aind, ename + ": Map struct was not ARRAYINFO! " + (xStruct == null ? "" : xStruct.ToString())); + ErrorXml(sb, aind, ename + ": Map struct was missing IndexInfo! " + (xStruct == null ? "" : xStruct.ToString())); } else if ((kEntry == null) || (iEntry == null)) { @@ -1047,7 +1047,7 @@ namespace CodeWalker.GameFiles } else if (iEntry.Unk_5h != 3) { - ErrorXml(sb, aind, ename + ": Map Item was not a structure pointer!"); + ErrorXml(sb, aind, ename + ": Map Item was not a structure pointer - TODO!"); } else { diff --git a/GameFiles/MetaTypes/PsoTypes.cs b/GameFiles/MetaTypes/PsoTypes.cs index 0ee79b7..f26606d 100644 --- a/GameFiles/MetaTypes/PsoTypes.cs +++ b/GameFiles/MetaTypes/PsoTypes.cs @@ -620,7 +620,7 @@ namespace CodeWalker.GameFiles public uint Unk2 { get; set; } public ushort BlockID { get { return (ushort)(Pointer & 0xFFF); } } //1-based ID - public uint ItemOffset { get { return (ushort)((Pointer>>12) & 0xFFFFF); } } //byte offset + public uint ItemOffset { get { return ((Pointer>>12) & 0xFFFFF); } } //byte offset public override string ToString()