Ignore:
Timestamp:
Apr 22, 2024, 10:17:01 PM (7 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Select.pas

    r549 r550  
    181181    LoweredTextOut(Canvas, -1, MainTexture,
    182182      (Width - BiColorTextWidth(Canvas, S)) div 2, 31, S);
    183   if not MultiPage and (Kind in [kProject, kAdvance, kFarAdvance]) and not Phrases2FallenBackToEnglish
    184   then
    185   begin
     183  if not MultiPage and (Kind in [kProject, kAdvance, kFarAdvance]) and
     184    not Phrases2FallenBackToEnglish then begin
    186185    S := Phrases2.Lookup('SHIFTCLICK');
    187186    LoweredTextOut(Canvas, -2, MainTexture,
     
    13961395          Code[1, Lines[0]] := MyRO.nEnemyModel - 1;
    13971396          while (Code[1, Lines[0]] >= 0) and
    1398             not((MyRO.EnemyModel[Code[1, Lines[0]]].Owner = pView) and
     1397            not ((MyRO.EnemyModel[Code[1, Lines[0]]].Owner = pView) and
    13991398            (MyRO.EnemyModel[Code[1, Lines[0]]].mix = I)) do
    14001399            Dec(Code[1, Lines[0]]);
     
    16781677begin
    16791678  ForceClose := (ListKind <> Kind) and
    1680     not((Kind = kCities) and (ListKind = kCityEvents)) and
    1681     not((Kind = kCityEvents) and (ListKind = kCities)) and
    1682     not((Kind = kModels) and (ListKind = kEModels)) and
    1683     not((Kind = kEModels) and (ListKind = kModels));
     1679    not ((Kind = kCities) and (ListKind = kCityEvents)) and
     1680    not ((Kind = kCityEvents) and (ListKind = kCities)) and
     1681    not ((Kind = kModels) and (ListKind = kEModels)) and
     1682    not ((Kind = kEModels) and (ListKind = kModels));
    16841683
    16851684  Kind := ListKind;
Note: See TracChangeset for help on using the changeset viewer.