Skip to content

Commit

Permalink
unnecessary step is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
zebalu committed Dec 17, 2023
1 parent 136e421 commit 1cad600
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int nextStraight(Coord c) {
}

long toKey() {
return 0L+pos.x()*1_000_000L+pos.y()*1_000L+straightLength*10L+dir.ordinal();
return pos.x()*1_000_000L+pos.y()*1_000L+straightLength*10L+dir.ordinal();
}

}
Expand Down

0 comments on commit 1cad600

Please sign in to comment.