Temporarily disabled same cell ref check

master
Eddoursul 7 months ago
parent add6832e55
commit 4df785d0d7
  1. 13
      ESMify_Plugins.pas

@ -1,5 +1,5 @@
{
ESMify Plugins 1.0
Skyrim ESMifier 1.0
by Eddoursul https://eddoursul.win
For proper overriding of temporary records, "Always save ONAM" must be enabled in xEdit.
@ -54,11 +54,12 @@ begin
if GetLoadOrder(GetFile(referencingRecord)) <= GetLoadOrder(GetFile(rec)) then begin
// When referencing record is not referenced and it's in the same cell, the ref does not need persistence.
if (ReferencedByCount(referencingRecord) = 0) then begin
if (sig = 'REFR') then begin
if InSameCell(rec, referencingRecord) then continue;
end;
end;
// Not always true, needs investigating.
//if (ReferencedByCount(referencingRecord) = 0) then begin
// if (sig = 'REFR') then begin
// if InSameCell(rec, referencingRecord) then continue;
// end;
//end;
// Refs referencing themselves do not require the flag
if not SameRecord(rec, referencingRecord) then begin

Loading…
Cancel
Save