X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=94be83380a6cf392fe1d3dda3c3bbaf172109591;hp=4b7c7cec6f8fee84720eb931bbd503178ec1c420;hb=db4b8ee000912f88927757eb8dee255b8d66a4b4;hpb=6fb0a1bc4050dd9b15e9c163c46c60f25c48137d diff --git a/src/types.h b/src/types.h index 4b7c7cec..94be8338 100644 --- a/src/types.h +++ b/src/types.h @@ -427,7 +427,7 @@ inline Move make(Square from, Square to, PieceType pt = KNIGHT) { } inline bool is_ok(Move m) { - return from_sq(m) != to_sq(m); // Catches also MOVE_NULL and MOVE_NONE + return from_sq(m) != to_sq(m); // Catch also MOVE_NULL and MOVE_NONE } #endif // #ifndef TYPES_H_INCLUDED