File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,23 +177,8 @@ function Initialize: Integer;
177177
178178 AddMessage(#10 );
179179
180- // fail if the user loaded more plugins than expected
181180 BuildMasterPluginsList(kFile, slMasterPlugins);
182181
183- // for i := 0 to Pred(FileCount) do begin
184- // sMasterName := GetFileName(FileByIndex(i));
185- //
186- // if (sMasterName = 'Update.esm') or EndsText('.exe', sMasterName) then
187- // continue;
188- //
189- // if slMasterPlugins.IndexOf(sMasterName) = -1 then
190- // begin
191- // LogError('Cannot continue because more plugins are loaded than expected');
192- // bQuickExit := True;
193- // exit;
194- // end;
195- // end;
196-
197182 LogInfo(' Processing... Please wait. This could take a while.' );
198183
199184 for i := 0 to Pred(RecordCount(kFile)) do
@@ -311,7 +296,7 @@ function ProcessRecord(e: IInterface): Integer;
311296 exit;
312297
313298 // exit if the record should not be processed
314- if CompareText(sFileName, ' Dawnguard.esm' ) then
299+ if CompareText(sFileName, ' Dawnguard.esm' ) = 0 then
315300 begin
316301 iFormID := FileFormID(e);
317302 if (iFormID = $00016BCF)
You can’t perform that action at this time.
0 commit comments