Ignore:
Timestamp:
Apr 21, 2024, 10:57:18 AM (4 weeks ago)
Author:
chronos
Message:
  • Fixed: Bad unit drawing in battle dialog.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CityProcessing.pas

    r522 r548  
    223223        RelCorr := Dist / MaxDist;
    224224        if CorrLevel[RW[P].Government] > 1 then
    225           RelCorr := Exp(ln(RelCorr) / CorrLevel[RW[P].Government]);
     225          RelCorr := Exp(Ln(RelCorr) / CorrLevel[RW[P].Government]);
    226226        if Built[imCourt] = 1 then
    227227          RelCorr := RelCorr / 2;
     
    16281628            begin
    16291629              if Value > 0 then
    1630                 Value := ln(Value) + 123;
     1630                Value := Ln(Value) + 123;
    16311631              for I := oFood to oScience do
    16321632                if ValueFormula_Multiply[I] and (Output[I] > 0) then
    16331633                  Value := Value + ValueFormula_Weight[I] *
    1634                     (ln(Output[I]) + 123);
     1634                    (Ln(Output[I]) + 123);
    16351635            end;
    16361636
Note: See TracChangeset for help on using the changeset viewer.