X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=5f4bc58707c8489270b73e2be4c0f6edbdafcb23;hp=f1eb4b1d16bef0d3a8b1d5c6e2878e26d223e6c9;hb=c5d478b92303314da0ea072640ee0214ca160199;hpb=13a73f67c018e58b2fd46f886c45ef2b75188c8e diff --git a/src/movegen.cpp b/src/movegen.cpp index f1eb4b1d..5f4bc587 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -22,7 +22,7 @@ #include "movegen.h" #include "position.h" -/// Simple macro to wrap a very common while loop, no facny, no flexibility, +/// Simple macro to wrap a very common while loop, no fancy, no flexibility, /// hardcoded names 'mlist' and 'from'. #define SERIALIZE(b) while (b) (mlist++)->move = make_move(from, pop_lsb(&b)) @@ -325,7 +325,7 @@ ExtMove* generate(const Position& pos, ExtMove* mlist) { PieceType pt = type_of(pos.piece_on(from)); if (pt == PAWN) - continue; // Will be generated togheter with direct checks + continue; // Will be generated together with direct checks Bitboard b = pos.attacks_from(Piece(pt), from) & ~pos.pieces();