1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Re-enable increment operator for Piece.

No functional change.
This commit is contained in:
joergoster 2020-06-24 20:18:32 +02:00
parent 8ef6c837b7
commit 0e932757e5

View file

@ -983,7 +983,7 @@ bool EvalList::is_valid(const Position& pos)
for (Piece pc = NO_PIECE; pc < PIECE_NB; ++pc)
{
auto pt = type_of(pc);
if (pt == NO_PIECE || pt == 7) // 存在しない駒
if (pt == NO_PIECE_TYPE || pt == 7) // 存在しない駒
continue;
// 駒pcのBonaPieceの開始番号