From 55decbbf2f418fa05b41657ba485f34851ea98c3 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 6 Feb 2017 19:15:18 +0100 Subject: [PATCH] Indicate last rank in zone table The least-sigificant bit in the zone table is nowused to indicate first and second rank. This is used to forbid Pawn drops as check evasions. Which is OK for crazyhouse, but is overruled on 1st rank for Shogi. The last-2-ranks bits are suppressed in mini-Shogi (which has no Knight). --- dropper.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dropper.c b/dropper.c index d229f91..f2bf201 100644 --- a/dropper.c +++ b/dropper.c @@ -546,8 +546,9 @@ printf("# variant %d: %s\n", v, variants[v].name); } for(r=0; r