Ignore:
Timestamp:
Jun 14, 2019, 11:16:47 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Moved BaseWin unit to CevoPackages as it contains classes which need to be registered design-time class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r155 r166  
    34083408  i, j: integer;
    34093409begin
     3410  MainFormKeyDown := FormKeyDown;
    34103411  BaseWin.CreateOffscreen(Offscreen);
    34113412
     
    35363537procedure TMainScreen.FormDestroy(Sender: TObject);
    35373538var
    3538   i: integer;
    3539 begin
     3539  I: Integer;
     3540begin
     3541  MainFormKeyDown := nil;
    35403542  FreeAndNil(sb);
    35413543  FreeAndNil(TopBar);
     
    35433545  FreeAndNil(Buffer);
    35443546  FreeAndNil(Panel);
    3545   for i := 0 to nPl - 1 do
     3547  for I := 0 to nPl - 1 do
    35463548    if AILogo[i] <> nil then
    3547       FreeAndNil(AILogo[i]);
     3549      FreeAndNil(AILogo[I]);
    35483550  FreeAndNil(Offscreen);
    35493551end;
Note: See TracChangeset for help on using the changeset viewer.