Changeset 3 for trunk


Ignore:
Timestamp:
Jan 7, 2017, 11:03:42 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Correctly build under Delphi 10.0.
Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      Integrated.dsk
      Integrated.dproj.local
      Integrated.identcache
      Integrated.res
      Integrated.stat
      Win32
      *.~dsk
  • trunk/LocalPlayer

    • Property svn:ignore set to
      __history
  • trunk/LocalPlayer/CityScreen.pas

    r2 r3  
    438438x,y,xGr,i,i1,j,iix,d,dx,dy,PrCost,Cnt,Loc1,FreeSupp,Paintiix,HappyGain,
    439439  OptiType,rx,ry,TrueFood,TrueProd,TruePoll: integer;
     440av: Integer;
    440441PrName,s:string;
    441442UnitInfo: TUnitInfo;
     
    547548      begin
    548549      Loc1:=dLoc(cLoc,dx,dy);
    549       if (CityAreaInfo.Available[(dy+3) shl 2+(dx+3) shr 1] in [faNotAvailable,faTreaty,faInvalid])
     550      av := CityAreaInfo.Available[(dy+3) shl 2+(dx+3) shr 1];
     551      if ((av = faNotAvailable) or (av = faTreaty) or (av =faInvalid))
    550552        and ((Loc1<0) or (Loc1>=G.lx*G.ly) or (MyMap[Loc1] and fCity=0)) then
    551553        Sprite(offscreen,HGrTerrain,xmArea-xxt+xxt*dx,ymArea-yyt+yyt*dy,xxt*2,
Note: See TracChangeset for help on using the changeset viewer.