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:
parent
8ef6c837b7
commit
0e932757e5
1 changed files with 1 additions and 1 deletions
|
@ -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の開始番号
|
||||
|
|
Loading…
Add table
Reference in a new issue