Fix semantic of piece_attacks<PAWN>
authorMarco Costalba <mcostalba@gmail.com>
Sun, 13 Sep 2009 15:13:49 +0000 (16:13 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 13 Sep 2009 15:13:49 +0000 (16:13 +0100)
commit6709b01903b9122cf619e8469a0bea96097447e7
treea3387d6f479c64e68f1a6dc2b915bfacf9f72237
parent3863cd191c0bcc554ab17c6cd4642b354cec1403
Fix semantic of piece_attacks<PAWN>

Return the bitboard with the pawn attacks for both colors
so to be aligned to the meaning of the others piece_attacks<Piece>
templates.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.cpp
src/position.h