Changeset 224


Ignore:
Timestamp:
Jul 15, 2018, 2:31:09 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Reduce moves once value also if cell power is less.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r223 r224  
    26382638    Power := UnitMove.CellFrom.GetAvialPower;
    26392639    if Power < 0 then begin
    2640       if Abs(Power) <= UnitMove.CountOnce then
     2640      if Abs(Power) < UnitMove.CountOnce then
    26412641        UnitMove.CountOnce := UnitMove.CountOnce - Abs(Power)
     2642        else UnitMove.CountOnce := 0;
    26422643    end;
    26432644  end;
Note: See TracChangeset for help on using the changeset viewer.