From: H.G. Muller Date: Sun, 24 Feb 2013 11:09:59 +0000 (+0100) Subject: Give King neutral PST X-Git-Tag: 0.18~59 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1e2ac9a07ee60ab32e6740b2e8ebdcf8ca490d26;p=hachu.git Give King neutral PST The King was drawn to the center like any general... --- 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; }