]> git.sesse.net Git - stockfish/commit
Simplify some obsolete code in king safety
authorMarco Costalba <mcostalba@gmail.com>
Thu, 6 May 2010 09:13:07 +0000 (11:13 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 7 May 2010 11:04:21 +0000 (12:04 +0100)
commitb14846b6d74373762280420ffc97759113cf0c0c
tree13dfd9460b3a3b9c90317e3a19ba30aa698d4d7c
parent921bd87280e0164270ddd5c28213d5b4593ca6c3
Simplify some obsolete code in king safety

Now that QueenCheckBonus and friends are always > 0
we can remove a bunch of useless 'if' statements.

No functional change.
src/evaluate.cpp