Changeset 344 for trunk/Core.pas


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/Core.pas

    r339 r344  
    606606  FormMain.FormClient.Client := nil;
    607607  for I := 0 to Game.Players.Count - 1 do begin
    608     Player := TPlayer(Game.Players[I]);
     608    Player := Game.Players[I];
    609609    with Player do
    610610    if Mode = pmHuman then begin
     
    739739  FormMain.FormClient.Client := nil;
    740740  for I := 0 to Game.Players.Count - 1 do begin
    741     Player := TPlayer(Game.Players[I]);
     741    Player := Game.Players[I];
    742742    with Player do
    743743    if Mode = pmHuman then begin
Note: See TracChangeset for help on using the changeset viewer.