Ignore:
Timestamp:
Apr 21, 2024, 8:55:53 PM (7 months ago)
Author:
chronos
Message:
  • Modified: Optimize code with earlier break from for cycle evaluating boolean result.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CityProcessing.pas

    r548 r549  
    16051605                RareOK := False;
    16061606                for iH := 0 to nHierarchy - 1 do
    1607                   if Hierarchy[iH, nSelection[iH]].V21 and RareTiles <> 0 then
     1607                  if Hierarchy[iH, nSelection[iH]].V21 and RareTiles <> 0 then begin
    16081608                    RareOK := True;
     1609                    Break;
     1610                  end;
    16091611                if not RareOK then
    16101612                  TestReport.ProdRep := TestReport.Support;
Note: See TracChangeset for help on using the changeset viewer.