Changeset 335 for trunk/Player.pas


Ignore:
Timestamp:
Sep 7, 2024, 11:53:58 AM (2 months ago)
Author:
chronos
Message:
  • Modified: End turn with space key.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Player.pas

    r322 r335  
    584584  I: Integer;
    585585begin
     586  Result := Default(TPlayerArray);
    586587  SetLength(Result, 0);
    587588  for I := 0 to Count - 1 do
     
    596597  I: Integer;
    597598begin
     599  Result := Default(TPlayerArray);
    598600  SetLength(Result, 0);
    599601  for I := 0 to Count - 1 do
     
    642644    NewNode := Node.OwnerDocument.CreateElement('UnitMove');
    643645    Node.AppendChild(NewNode);
    644     TUnitMove(Items[I]).SaveToNode(NewNode);
     646    Items[I].SaveToNode(NewNode);
    645647  end;
    646648end;
Note: See TracChangeset for help on using the changeset viewer.