Small simplification in gives_check
authorMarco Costalba <mcostalba@gmail.com>
Tue, 11 Mar 2014 21:58:08 +0000 (22:58 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 11 Mar 2014 21:58:08 +0000 (22:58 +0100)
commitc40d4e0133d003f6caec8fd3bb0bab21f9298721
tree4803142690df3cf8fa12d6eca6efdba28bbf7de6
parentca0804dfe431e4f91f5a9a1faa7df27996c4e1ba
Small simplification in gives_check

Use switch statement also for normal case.

No speed regression.

No functional change.
src/position.cpp