Changeset 228 for trunk/Forms


Ignore:
Timestamp:
Sep 18, 2018, 5:24:06 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Show cell numbers in player unit moves tables.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormUnitMoves.pas

    r181 r228  
    4141  if (Mode = pmHuman) and (Item.Index < Moves.Count) then
    4242  with TUnitMove(Moves[Item.Index]) do begin
    43     Item.Caption := CellFrom.ToString;
    44     Item.SubItems.Add(CellTo.ToString);
     43    Item.Caption := IntToStr(CellFrom.MapCell.Id);
     44    Item.SubItems.Add(IntToStr(CellTo.Mapcell.Id));
    4545    Item.SubItems.Add(IntToStr(CountOnce));
    4646    Item.SubItems.Add(IntToStr(CountRepeat));
Note: See TracChangeset for help on using the changeset viewer.