Ignore:
Timestamp:
Dec 8, 2023, 8:25:31 PM (11 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/IsoEngine.pas

    r469 r486  
    193193begin
    194194  // prepare age 2+3 cities
    195   for age := 2 to 3 do
    196     for size := 0 to 3 do
     195  for Age := 2 to 3 do
     196    for Size := 0 to 3 do
    197197      with Pictures[Age, Size] do
    198198        FindPosition(HGrCities, Size * (xxt * 2 + 1), (Age - 2) * (yyt * 3 + 1),
     
    738738begin
    739739  Age := GetAge(CityInfo.Owner);
    740   if CityInfo.size < 5 then
     740  if CityInfo.Size < 5 then
    741741    xGr := 0
    742   else if CityInfo.size < 9 then
     742  else if CityInfo.Size < 9 then
    743743    xGr := 1
    744   else if CityInfo.size < 13 then
     744  else if CityInfo.Size < 13 then
    745745    xGr := 2
    746746  else
     
    793793      yShield := Y - 2 * yyt + cpic.yShield;
    794794    end;
    795     S := IntToStr(CityInfo.size);
     795    S := IntToStr(CityInfo.Size);
    796796    LabelLength := FOutput.Canvas.TextWidth(S);
    797797    FillRect(xShield, yShield, LabelLength + 4, 16, $000000);
Note: See TracChangeset for help on using the changeset viewer.