Ignore:
Timestamp:
May 18, 2022, 10:43:27 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Nego.pas

    r432 r442  
    9696  NegoDlg: TNegoDlg;
    9797
     98
    9899implementation
    99100
     
    476477                (ButtonPrice[Tag and $FF] shr 24 in MyAllowed);
    477478              Lit := Delivers[Tag and $FF] <> $FFFFFFFF;
    478             end
     479            end;
    479480        end;
    480481end;
     
    630631
    631632  MarkUsedOffscreen(ClientWidth, ClientHeight);
    632 end; { OffscreenPaint }
     633end;
    633634
    634635procedure TNegoDlg.Initiate;
     
    784785          if a > MaxShipPartPrice then
    785786            a := MaxShipPartPrice;
    786           inc(Price, a)
     787          inc(Price, a);
    787788        end;
    788789      opAllTech:
     
    843844    begin
    844845      SimpleMessage(Phrases.Lookup('MAX2OFFERS'));
    845       exit
     846      exit;
    846847    end;
    847848    Price := ButtonPrice[TButtonN(Sender).Tag and $FF];
     
    886887          if a > MaxShipPartPrice then
    887888            a := MaxShipPartPrice;
    888           inc(Price, a)
     889          inc(Price, a);
    889890        end;
    890891      opAllTech:
     
    906907            Price := opAllModel
    907908          else
    908             Price := OpModel + ModalSelectDlg.result
     909            Price := OpModel + ModalSelectDlg.result;
    909910        end;
    910911      opTreaty:
Note: See TracChangeset for help on using the changeset viewer.