- mlist = generate_pawn_moves<Us, Type>(pos, mlist, target, ci);
- mlist = generate_moves<KNIGHT, Checks>(pos, mlist, Us, target, ci);
- mlist = generate_moves<BISHOP, Checks>(pos, mlist, Us, target, ci);
- mlist = generate_moves< ROOK, Checks>(pos, mlist, Us, target, ci);
- mlist = generate_moves< QUEEN, Checks>(pos, mlist, Us, target, ci);
+ moveList = generate_pawn_moves<Us, Type>(pos, moveList, target, ci);
+ moveList = generate_moves<KNIGHT, Checks>(pos, moveList, Us, target, ci);
+ moveList = generate_moves<BISHOP, Checks>(pos, moveList, Us, target, ci);
+ moveList = generate_moves< ROOK, Checks>(pos, moveList, Us, target, ci);
+ moveList = generate_moves< QUEEN, Checks>(pos, moveList, Us, target, ci);