Skip to content

Commit

Permalink
Update 81_arrows.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Mar 18, 2021
1 parent 5a0fc27 commit 954fa84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/81_arrows.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,10 @@ function DrawArrows(node, one_click_moves, specific_source, show_move) { // spe

arrows.push({
colour: colour,
// i: i, // Saving the order in the original SortedMoveInfo array
x1: x1,
y1: y1,
x2: x2 + x_head_adjustment,
y2: y2,
// knight_flag: Math.abs(x2 - x1) + Math.abs(y2 - y1) === 3 && (Math.abs(x2 - x1) === 2 || Math.abs(x2 - x1) === 1),
info: info_list[i]
});

Expand Down

0 comments on commit 954fa84

Please sign in to comment.