Fix counterstike against promoting Kirin
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 7 Oct 2025 19:44:30 +0000 (21:44 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 8 Oct 2025 08:47:19 +0000 (10:47 +0200)
commite5b8f1899abb2cc0f406df1a6f22b5c605c58363
treecac485ee5639b0b947697c00f92f9492aebbd8da
parentcc87afb316a92a2c0b26be197017281584aea791
Fix counterstike against promoting Kirin

The ban on capturing Lion by non-Lion nonly applies to a Lion elsewhere,
never to recapturing a Kirin that captured a Lion and promoted in the process.
This exemption is now implemented by passing the capture square in
promoSuppress for Ky x Ln+, and testing that on a subsequent other x Ln.
This is harmless, as +Ky cannot promote anyway.
hachu.c