Fix Spartan promotion to King
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 8 Jan 2011 23:05:38 +0000 (00:05 +0100)
committerArun Persaud <arun@nubati.net>
Tue, 11 Jan 2011 05:22:04 +0000 (21:22 -0800)
commit6076ddce2ec3b939ebc4b9cfdbae52c2476ab17d
tree585395c432b75c12430cc325653f3f4f02535a14
parent040cf1c2a55625ab41f0b3b930f56beb8d9fed3f
Fix Spartan promotion to King

Promotions toKing were refused when in check, because XBoard thought
they would not resolve the check. Now the promotion is actually
performed before doing the check test.
moves.c