Ignore:
Timestamp:
Mar 25, 2021, 3:02:29 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Use nWonder constant as number of wonders instead of numeric value.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/ClientTools.pas

    r327 r328  
    261261      Inc(Result, CityReport.FoodSurplus);
    262262  end;
    263   for i := 28 to nImp - 1 do
     263  for i := nWonder to nImp - 1 do
    264264    if MyCity[cix].Built[i] > 0 then
    265265      Dec(Result, Imp[i].Maint);
Note: See TracChangeset for help on using the changeset viewer.