Ignore:
Timestamp:
Dec 23, 2023, 1:50:31 PM (11 months ago)
Author:
chronos
Message:
  • Fixed: Non-DPI build.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r498 r502  
    15751575        TestColorDistance := abs(Integer(UnusedTribeFiles.Objects[J])
    15761576          shr 16 and $FF - Tribe[I].Color shr 16 and $FF) +
    1577           abs(Integer(UnusedTribeFiles.Objects[J]) shr 8 and
     1577          Abs(Integer(UnusedTribeFiles.Objects[J]) shr 8 and
    15781578          $FF - Tribe[I].Color shr 8 and $FF) * 3 +
    1579           abs(Integer(UnusedTribeFiles.Objects[J]) and
     1579          Abs(Integer(UnusedTribeFiles.Objects[J]) and
    15801580          $FF - Tribe[I].Color and $FF) * 2;
    15811581        if TestColorDistance < ColorDistance then
     
    17211721  AdvIcon[adConscription] := 86 + dGround;
    17221722
    1723   UnusedTribeFiles := tstringlist.Create;
     1723  UnusedTribeFiles := TStringList.Create;
    17241724  UnusedTribeFiles.Sorted := True;
    17251725  TribeNames := tstringlist.Create;
Note: See TracChangeset for help on using the changeset viewer.