]> git.sesse.net Git - stockfish/commitdiff
Remove a redundant condition in connected_moves()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 3 Nov 2012 12:45:10 +0000 (13:45 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 3 Nov 2012 13:24:29 +0000 (14:24 +0100)
If a previous move attacks the king (with the piece
of the threat move removed) then must be a discovered
check, otherwise it means that first move gave check
and we were not able to do a null move.

Also renamed stuff to better document the function's
context.

No functional change.


No differences found