Changeset 233 for trunk/UClientGUI.pas


Ignore:
Timestamp:
Sep 19, 2018, 3:20:20 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Map type Image wasn't using loaded image from file on repeated new game creation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UClientGUI.pas

    r231 r233  
    9595    if Assigned(ControlPlayer) then begin
    9696      for Cell in ControlPlayer.PlayerMap.Cells do begin
    97         if (Cell.MapCell.Terrain <> ttVoid) and View.IsCellVisible(Cell.MapCell) then begin
     97        if View.IsCellVisible(Cell.MapCell) and (Cell.MapCell.Terrain <> ttVoid) then begin
    9898          if Cell.MapCell.Player = ControlPlayer then
    9999            CellText := IntToStr(Cell.GetAvialPower)
Note: See TracChangeset for help on using the changeset viewer.