Changeset 53


Ignore:
Timestamp:
Nov 3, 2019, 8:51:15 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Unable to move tiles in 2x2 board size.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r52 r53  
    324324begin
    325325  Result := Point(Sign(P2.X - P1.X), Sign(P2.Y - P1.Y));
     326  if Result.X = 0 then Result.X := 1;
     327  if Result.Y = 0 then Result.Y := 1;
    326328end;
    327329
Note: See TracChangeset for help on using the changeset viewer.