Ignore:
Timestamp:
Nov 29, 2023, 6:25:22 PM (6 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r460 r464  
    403403    D, I, Total, xGr, yGr: Integer;
    404404    TileInfo: TTileInfo;
    405     rare: Boolean;
     405    Rare: Boolean;
    406406  begin
    407407    with AreaMap do begin
     
    412412    end;
    413413    Total := TileInfo.Food + TileInfo.Prod + TileInfo.Trade;
    414     rare := MyMap[Loc] and $06000000 > 0;
    415     if rare then
     414    Rare := MyMap[Loc] and $06000000 > 0;
     415    if Rare then
    416416      Inc(Total);
    417417    if Add4Happy then
     
    431431        yGr := 126
    432432      end
    433       else if rare and (I = Total - 1) then
     433      else if Rare and (I = Total - 1) then
    434434        xGr := 66 + 110
    435435      else if I >= TileInfo.Food + TileInfo.Prod then
Note: See TracChangeset for help on using the changeset viewer.