B2019-105 Corrected Conversion off RecID
This commit is contained in:
parent
2200c802e2
commit
2df227fdaa
@ -786,7 +786,7 @@ namespace ROEditor
|
|||||||
|
|
||||||
//Write the RO's record ID
|
//Write the RO's record ID
|
||||||
string RecIdStr = elem.GetAttribute("RecID");
|
string RecIdStr = elem.GetAttribute("RecID");
|
||||||
RORecID = System.Convert.ToUInt16(RecIdStr,16);
|
RORecID = System.Convert.ToUInt32(RecIdStr,16);// B2019-105 Corrected conversion to 32 bit
|
||||||
|
|
||||||
fhFST.Write(RORecID);
|
fhFST.Write(RORecID);
|
||||||
|
|
||||||
@ -805,7 +805,7 @@ namespace ROEditor
|
|||||||
|
|
||||||
//Write the parent ID
|
//Write the parent ID
|
||||||
string ParIDstr = elem.GetAttribute("ParentID");
|
string ParIDstr = elem.GetAttribute("ParentID");
|
||||||
ParID = System.Convert.ToUInt16(ParIDstr,16);
|
ParID = System.Convert.ToUInt32(ParIDstr,16);// B2019-104 Corrected to 32 Bit
|
||||||
fhFST.Write(ParID);
|
fhFST.Write(ParID);
|
||||||
|
|
||||||
// not sure why, was in old FST code but no comment!
|
// not sure why, was in old FST code but no comment!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user