clean move_t: Remove capture/dpush/promotion flags, captured piece

This commit is contained in:
2024-06-12 07:45:22 +02:00
parent 49b678e3ce
commit ec2d2291d4
4 changed files with 45 additions and 37 deletions

View File

@@ -460,7 +460,8 @@ movelist_t *pos_gen_pseudo(pos_t *pos, movelist_t *movelist)
while(to_bb) {
to = bb_next(&to_bb);
from = to - shift - shift;
*moves++ = move_make_flags(from, to, M_DPUSH);
//*moves++ = move_make_flags(from, to, M_DPUSH);
*moves++ = move_make(from, to);
}
/* pawn: captures */