Changeset 69 for trunk/Forms/UFormMain.pas
- Timestamp:
- Sep 28, 2014, 5:42:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r62 r69 343 343 procedure TFormMain.PaintBox1MouseUp(Sender: TObject; Button: TMouseButton; 344 344 Shift: TShiftState; X, Y: Integer); 345 begin 346 if (Abs(StartMousePoint.X - X) < 5) and (Abs(StartMousePoint.Y - Y) < 5) then begin 345 const 346 MouseMinDiff = 10; 347 begin 348 if (Abs(StartMousePoint.X - X) < MouseMinDiff) and (Abs(StartMousePoint.Y - Y) < MouseMinDiff) then begin 347 349 if Core.Game.Running and (Core.Game.CurrentPlayer.Mode = pmHuman) then begin 348 350 Core.Game.CurrentPlayer.View.SelectCell(Point(X, Y), Core.Game.CurrentPlayer);
Note:
See TracChangeset
for help on using the changeset viewer.