Changeset 302 for trunk/UPlayer.pas


Ignore:
Timestamp:
Aug 11, 2019, 11:06:54 AM (5 years ago)
Author:
chronos
Message:
  • Fixed: Some repeated moves were disappearing.
  • Fixed: Move once count was not set correctly on unit move edit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UPlayer.pas

    r300 r302  
    66
    77uses
    8   Classes, SysUtils, Graphics, UMap, DOM, fgl, XMLConf, UXMLUtils, Math,
     8  Classes, SysUtils, Graphics, UMap, DOM, fgl2, XMLConf, UXMLUtils, Math,
    99  UGeometry, UUnit, UNation, UItemList;
    1010
     
    943943    if not Assigned(CellTo.MapCell.OneUnit) then begin
    944944      CellTo.MapCell.OneUnit := TGame(Game).Units.AddNew(CellFrom.MapCell.OneUnit.Kind, 0);
     945      CellTo.MapCell.OneUnit.Player := Self;
    945946      CellTo.MapCell.Player := Self;
    946947    end;
Note: See TracChangeset for help on using the changeset viewer.