Changeset 550 for trunk/Database.pas
- Timestamp:
- Apr 22, 2024, 10:17:01 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Database.pas
r549 r550 1895 1895 if NewTile and fRR <> 0 then 1896 1896 NewTile := NewTile and not fRoad; 1897 if not ((NewTile and fTerrain) in TerrType_Canalable) then1897 if not ((NewTile and fTerrain) in TerrType_Canalable) then 1898 1898 NewTile := NewTile and not fCanal; 1899 1899 if Terrain[NewTile and fTerrain].IrrEff = 0 then … … 1961 1961 begin // search exploiting player and city 1962 1962 SearchCity(UsedByCity[Loc], P, cix); 1963 if not ((P = p0) or (ObserveLevel[UsedByCity[Loc]] shr (2 * p0) and1963 if not ((P = p0) or (ObserveLevel[UsedByCity[Loc]] shr (2 * p0) and 1964 1964 3 = lObserveSuper)) then 1965 1965 cix := -1 … … 2767 2767 Dec(TerritoryCount[RealMap[Loc] shr 27]); 2768 2768 Inc(TerritoryCount[P]); 2769 RealMap[Loc] := RealMap[Loc] and not ($F shl 27) or Cardinal(P) shl 27;2769 RealMap[Loc] := RealMap[Loc] and not ($F shl 27) or Cardinal(P) shl 27; 2770 2770 if P = $F then 2771 2771 P := -1; … … 2921 2921 if NewOwner <> OldOwner then 2922 2922 if AtPeace[NewOwner, OldOwner] and 2923 not ((OldOwner = PlayerLosingCity) and2923 not ((OldOwner = PlayerLosingCity) and 2924 2924 (StolenDist[Loc] > CountryRadius)) then 2925 2925 NewOwner := OldOwner // peace fixes borders
Note:
See TracChangeset
for help on using the changeset viewer.