Skip to content

Commit

Permalink
fixed uci move name for queenside castling
Browse files Browse the repository at this point in the history
  • Loading branch information
connormcmonigle committed Jun 30, 2020
1 parent c6c6a89 commit 833bbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/move.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct move{
if(is_castle_oo<c>()){
return castle_info<c>.start_king.name() + castle_info<c>.after_oo_king.name();
}else if(is_castle_ooo<c>()){
return castle_info<c>.start_king.name() + castle_info<c>.after_oo_king.name();
return castle_info<c>.start_king.name() + castle_info<c>.after_ooo_king.name();
}
std::string base = from().name() + to().name();
if(is_promotion<c>()){
Expand Down

0 comments on commit 833bbfc

Please sign in to comment.