if (ttMove != MOVE_NONE)
{
assert(move_is_ok(ttMove));
- if (move_is_legal(pos, ttMove, pinned))
+ if (move_is_legal(pos, ttMove))
return ttMove;
}
break;
if (mateKiller != MOVE_NONE)
{
assert(move_is_ok(mateKiller));
- if (move_is_legal(pos, mateKiller, pinned))
+ if (move_is_legal(pos, mateKiller))
return mateKiller;
}
break;
case PH_EVASIONS:
assert(pos.is_check());
- numOfMoves = generate_evasions(pos, moves, pinned);
+ numOfMoves = generate_evasions(pos, moves);
score_evasions();
movesPicked = 0;
break;
break;
case PH_QCHECKS:
- numOfMoves = generate_checks(pos, moves, dc);
+ numOfMoves = generate_checks(pos, moves);
movesPicked = 0;
break;