Retire operator|(File f, Rank r)

Use make_square() instead. Less fancy but
more clear.

No functional change.
This commit is contained in:
Marco Costalba
2014-03-22 23:35:30 +01:00
parent 4eee603433
commit 5f12069cbf
6 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ const string move_to_uci(Move m, bool chess960) {
return "0000";
if (type_of(m) == CASTLING && !chess960)
to = (to > from ? FILE_G : FILE_C) | rank_of(from);
to = make_square(to > from ? FILE_G : FILE_C, rank_of(from));
string move = to_string(from) + to_string(to);