Changeset 299 for trunk/UClientGUI.pas
- Timestamp:
 - Jul 10, 2019, 5:48:18 PM (6 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/UClientGUI.pas (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/UClientGUI.pas
r294 r299 182 182 Pen.Width := 1; 183 183 end else 184 if Assigned(Cell.Building) and (Cell.Building.Kind.SpecialType = stCity) then begin 184 if Assigned(Cell.Building) and Assigned(Cell.Building.Kind) and 185 (Cell.Building.Kind.SpecialType = stCity) then begin 185 186 // Cannot set clear border as it will display shifted on gtk2 186 187 //Pen.Style := psClear; … … 444 445 for Cell in ControlPlayer.PlayerMap.Cells do begin 445 446 if (Cell.MapCell.Terrain <> ttVoid) and View.IsCellVisible(Cell.MapCell) then begin 446 if Assigned(Cell.MapCell.Building) and (Cell.MapCell.Building.Kind.SpecialType = stCity) then begin 447 if Assigned(Cell.MapCell.Building) and Assigned(Cell.MapCell.Building.Kind) and 448 (Cell.MapCell.Building.Kind.SpecialType = stCity) then begin 447 449 // Cannot set clear border as it will display shifted on gtk2 448 450 //Pen.Style := psClear; … … 464 466 if (MapCell.Terrain <> ttVoid) and View.IsCellVisible(MapCell) then begin 465 467 if View.IsCellVisible(MapCell) and (MapCell.Terrain <> ttVoid) then begin 466 if Assigned(MapCell.Building) and (MapCell.Building.Kind.SpecialType = stCity) then begin 468 if Assigned(MapCell.Building) and Assigned(MapCell.Building.Kind) and 469 (MapCell.Building.Kind.SpecialType = stCity) then begin 467 470 // Cannot set clear border as it will display shifted on gtk2 468 471 //Pen.Style := psClear;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  