X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=hachu.c;h=68e0674bb07cdda7aa1db47320c4c851db4b6c4c;hb=1e2ac9a07ee60ab32e6740b2e8ebdcf8ca490d26;hp=8267b72e0dc358bf411bbc949835cae47833ccbd;hpb=a337bbb699ec5b9b53d5757a28a0ace33416ea76;p=hachu.git diff --git a/hachu.c b/hachu.c index 8267b72..68e0674 100644 --- a/hachu.c +++ b/hachu.c @@ -676,7 +676,7 @@ AddPiece (int stm, PieceDesc *list) if(p[j].promo >= i) p[j].promo += 2; } if(royal[stm] >= i) royal[stm] += 2; - if(p[i].value == (currentVariant == V_SHO ? 410 : 280) ) royal[stm] = i; + if(p[i].value == (currentVariant == V_SHO ? 410 : 280) ) royal[stm] = i, p[i].pst = 0; p[i].qval = (currentVariant == V_TENJIKU ? list->ranking : 0); // jump-capture hierarchy return i; }