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/UnitProcessing.pas

    r447 r550  
    293293          end
    294294          else if (PModel.Attack = 0) and
    295             not((PModel.Cap[mcBombs] > 0) and (Flags and unBombsLoaded <> 0))
     295            not ((PModel.Cap[mcBombs] > 0) and (Flags and unBombsLoaded <> 0))
    296296          then
    297297          begin
     
    495495      Exit;
    496496    end;
    497     if (PModel.Attack = 0) and not((PModel.Cap[mcBombs] > 0) and
     497    if (PModel.Attack = 0) and not ((PModel.Cap[mcBombs] > 0) and
    498498      (FlagsAtt and unBombsLoaded <> 0) and (DModel.Domain < dAir)) then
    499499    begin
     
    890890        ToTile := Map[Loc1];
    891891        if (Loc1 = A.ToLoc) and (ToTile and (fUnit or fOwned) = fUnit) and
    892           not((MoveInfo and 3 = gmaSea) and (FromTile and fTerrain >= fGrass))
    893           and not((MoveInfo and 3 = gmaAir) and ((FromTile and fCity <> 0) or
     892          not ((MoveInfo and 3 = gmaSea) and (FromTile and fTerrain >= fGrass))
     893          and not ((MoveInfo and 3 = gmaAir) and ((FromTile and fCity <> 0) or
    894894          (FromTile and fTerImp = tiBase))) then
    895895        begin // attack position found
     
    13091309    TerrType := RealMap[Loc0] and fTerrain;
    13101310    if (RealMap[Loc0] and fCity <> 0) or (TerrType < fGrass) or (Master >= 0) or
    1311       not((NewJob = jPillage) and (RW[P].Model[mix].Domain = dGround) or
     1311      not ((NewJob = jPillage) and (RW[P].Model[mix].Domain = dGround) or
    13121312      (RW[P].Model[mix].Kind = mkSettler) or (NewJob <> jCity) and
    13131313      (RW[P].Model[mix].Kind = mkSlaves) and (GWonder[woPyramids].EffectiveOwner
Note: See TracChangeset for help on using the changeset viewer.