Removed skipping unused formlists

This commit is contained in:
Eddoursul 2023-10-24 10:46:19 +02:00
parent dfde75ef4e
commit 5d02a8a4b6

View File

@ -38,10 +38,6 @@ begin
if (sig = 'LCTN') or (sig = 'WRLD') or (sig = 'TES4') then if (sig = 'LCTN') or (sig = 'WRLD') or (sig = 'TES4') then
continue; continue;
// Do not consider unused formlist a reference
if (sig = 'FLST') and (ReferencedByCount(referencingRecord) = 0) then
continue;
// Only check plugins higher in the load order. // Only check plugins higher in the load order.
// This will include non-masters as well, and will not take references from plugins lower in the load order into consideration. // This will include non-masters as well, and will not take references from plugins lower in the load order into consideration.
if GetLoadOrder(GetFile(referencingRecord)) <= GetLoadOrder(GetFile(rec)) then begin if GetLoadOrder(GetFile(referencingRecord)) <= GetLoadOrder(GetFile(rec)) then begin
@ -201,6 +197,11 @@ begin
end; end;
end; end;
function Initialize: integer;
begin
AddMessage('All done.');
end;
function Process(e: IInterface): integer; function Process(e: IInterface): integer;
var var
currentPlugin: IwbFile; currentPlugin: IwbFile;