]> git.sesse.net Git - stockfish/commitdiff
More readable trapped rook condition
authorMarco Costalba <mcostalba@gmail.com>
Sun, 13 Apr 2014 11:35:58 +0000 (13:35 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 13 Apr 2014 12:29:42 +0000 (14:29 +0200)
Prefer

file_of(s) < file_of(ksq)

to the inidrect

file_of(ksq) < FILE_E

To evaluate if semiopen side to check is the left side.

Also other small touches while there.

No functional change.


No differences found