Ignore:
Timestamp:
Apr 24, 2019, 11:41:52 AM (6 years ago)
Author:
chronos
Message:
  • Added: Enable player checkbox.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.pas

    r44 r47  
    7676
    7777uses
    78   UCore, UMapForm, UNewGameForm, UFormAbout;
     78  UCore, UMapForm, UFormNewGame, UFormAbout;
    7979
    8080resourcestring
     
    191191procedure TMainForm.ANewGameExecute(Sender: TObject);
    192192begin
    193   NewGameForm.LoadData(Engine);
    194   if NewGameForm.ShowModal = mrOk then begin
    195     NewGameForm.SaveData(Engine);
     193  FormNewGame.LoadData(Engine);
     194  if FormNewGame.ShowModal = mrOk then begin
     195    FormNewGame.SaveData(Engine);
    196196    Engine.NewGame;
    197197  end;
Note: See TracChangeset for help on using the changeset viewer.