From 12ca3b5e2047513cecc01b46a4bb84b2189a117a Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Fri, 24 Jul 2015 18:10:11 +0200 Subject: [PATCH] Fix counter strike against Lion with HF and SE A hit-and-run capture of by a Falcon or Eagle was not recognized as a counter strike against a Lion if it was one, as only the regular victim was tested for lionhood. --- hachu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hachu.c b/hachu.c index f1db2ee..2d63349 100644 --- a/hachu.c +++ b/hachu.c @@ -2195,7 +2195,7 @@ attacks += 2*bsize; MapFromScratch(attacks); // for as long as incremental update does not work. //if(flag & depth >= 0) printf("%2d:%d mapped %d/%d %s\n", depth, iterDep, curMove, msp, MoveToText(moveStack[curMove], 0)); //if(PATH) pmap(attacks, stm); - if(chuFlag && p[tb.victim].value == LVAL) {// verify legality of Lion capture in Chu Shogi + if(chuFlag && (p[tb.victim].value == LVAL || p[tb.epVictim[0]].value == LVAL)) {// verify legality of Lion capture in Chu Shogi score = 0; if(p[tb.piece].value == LVAL) { // Ln x Ln: can make Ln 'vulnerable' (if distant and not through intemediate > GB) if(dist[tb.from-tb.to] != 1 && attacks[2*tb.to + stm] && p[tb.epVictim[0]].value <= 50) -- 1.7.0.4