Changeset 271 for trunk/Forms


Ignore:
Timestamp:
Jan 28, 2019, 10:53:09 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Do not generate players in New game map preview.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r270 r271  
    406406  SaveGame(GamePreview);
    407407  GamePreview.PostConfig;
     408  GamePreview.GeneratePlayers := False;
    408409  GamePreview.New;
    409410  GamePreview.CurrentPlayer := GamePreview.Players.First;
     
    415416  Client.View.DestRect := TRect.Create(TPoint.Create(0, 0), TPoint.Create(Image1.Width, Image1.Height));
    416417  Client.View.ZoomAll;
    417   Client.ControlPlayer := GamePreview.Players.First;
     418  //Client.ControlPlayer := GamePreview.Players.First;
    418419  Client.ShowCellGrid := True;
    419420  Bitmap.Canvas.Brush.Color := MapBackgroundColor; //clBackground; //PaintBox1.GetColorResolvingParent;
Note: See TracChangeset for help on using the changeset viewer.