From 2df227fdaaf898abdc50b7e77ebd6efcb5833c6a Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 6 Aug 2019 19:36:09 +0000 Subject: [PATCH] B2019-105 Corrected Conversion off RecID --- PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs index 93c93986..b652b0f6 100644 --- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs +++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RO_FST.cs @@ -786,7 +786,7 @@ namespace ROEditor //Write the RO's record ID 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); @@ -805,7 +805,7 @@ namespace ROEditor //Write the parent ID 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); // not sure why, was in old FST code but no comment!