Ignore:
Timestamp:
Dec 23, 2024, 8:16:05 AM (10 hours ago)
Author:
chronos
Message:
  • Modified: Improved implementation of TItemList class to be generic class to avoid explicit typecasting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormNew.pas

    r330 r344  
    388388  GamePreview.GeneratePlayers := False;
    389389  GamePreview.New;
    390   GamePreview.CurrentPlayer := TPlayer(GamePreview.Players.First);
     390  GamePreview.CurrentPlayer := GamePreview.Players.First;
    391391  Bitmap := Image1.Picture.Bitmap;
    392392  Bitmap.SetSize(Image1.Width, Image1.Height);
Note: See TracChangeset for help on using the changeset viewer.