Pieces that could promote would not be allowed to defer. Which is OK for
Crazyhouse, but not for Shogi. Now only pieces that have the must-promote
ormust-promote-one-last-2-ranks flags set get their promotion suppressed
where these flags request it.
if((victim & ~COLOR) == 31) return 1; // captures King; abort!
move = piece << 16; // store piece in move
promote = (inZone | zoneTab[to]) & promoCode[piece-WHITE];
- if((promote & (Z_2ND | Z_MUST )) == 0) { // not in place where deferral forbidden
+ if((promote & ((Z_2ND | Z_MUST ) & ~COLOR)) == 0) { // not in place where deferral forbidden
int slot;
if(victim) { // capture
slot = --m->firstMove;