Only consider kingless positions as in-check in Atomic
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 27 Nov 2016 22:35:24 +0000 (23:35 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:24 +0000 (16:39 +0100)
commit9d4c9573bfe66d04681f0bc4553ec379e7ac1fc4
treeb1152820b6af26ffd7c8bda8cb5484e385339f6b
parentee1cf2b0aed77898937716e85c8e3e7d6361389b
Only consider kingless positions as in-check in Atomic

The check test returned 1000 (as special version of TRUE) when there
was no King that could be exposed to capture, under the assumption that
this would mean it had been exploded by the preceding move. But this was
counter-productive in variants without King (such as Horde). So now it
is only done in Atomic Chess, and all other variants return FALSE if there
is nothing on the board that could be checked.
moves.c