Ignore:
Timestamp:
Apr 25, 2024, 6:31:34 PM (7 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Nego.pas

    r549 r558  
    373373  begin // check techs
    374374    for I := 0 to nAdv - 1 do
    375       if not(I in FutureTech) then
     375      if not (I in FutureTech) then
    376376        if (MyRO.Tech[I] < tsSeen) and
    377377          (MyRO.EnemyReport[DipMem[Me].pContact].Tech[I] >= tsApplicable) then
     
    732732    end;
    733733    Price := ButtonPrice[TButtonN(Sender).Tag and $FF];
    734     if not(Price shr 24 in OppoAllowed) then
     734    if not (Price shr 24 in OppoAllowed) then
    735735      Exit;
    736736    case Price of
     
    845845    end;
    846846    Price := ButtonPrice[TButtonN(Sender).Tag and $FF];
    847     if not(Price shr 24 in MyAllowed) then
     847    if not (Price shr 24 in MyAllowed) then
    848848      Exit;
    849849    case Price of
     
    936936    Exit;
    937937  NewCommand := TButtonN(Sender).Tag and $FF + scDipStart;
    938   if not(NewCommand - scDipStart in CommandAllowed) then
     938  if not (NewCommand - scDipStart in CommandAllowed) then
    939939    Exit;
    940940  if (NewCommand = scDipCancelTreaty) and
Note: See TracChangeset for help on using the changeset viewer.