mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Even more spelling fixes
No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
190aea4cdc
commit
431c3ac485
@@ -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<QUIET_CHECKS>(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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user