Changeset 103 for trunk/UCore.pas


Ignore:
Timestamp:
Dec 27, 2014, 12:01:08 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: CellLinks deallocation if map size changed and cells were regenerated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r100 r103  
    130130
    131131procedure TCore.Delay(Time: Integer);
    132 var
    133   I: Integer;
    134132const
    135133  Slice = 50; // ms
     
    226224procedure TCore.AGameEndTurnExecute(Sender: TObject);
    227225var
    228   I: Integer;
    229226  Computer: TComputer;
    230227begin
     
    355352  CommandLineParams;
    356353
    357   with Core.ScaleDPI1 do
     354  {$IFDEF DEBUG}
     355  {with Core.ScaleDPI1 do
    358356  if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin
    359357    //ApplyToAll(DesignDPI);
     
    367365    ScaleImageList(Core.ImageListLarge, DesignDPI);
    368366  end;
     367  }
     368  {$ENDIF}
    369369
    370370  if Game.FileName = '' then begin
Note: See TracChangeset for help on using the changeset viewer.