mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 09:39:36 +00:00
Proper indenting of multiple conditions
Triviality due to a boring saturday morning. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
456f37b8ab
commit
cdfe43eb8f
4 changed files with 32 additions and 32 deletions
|
@ -178,9 +178,9 @@ namespace {
|
||||||
// Test for a capture that triggers a pawn endgame
|
// Test for a capture that triggers a pawn endgame
|
||||||
if ( captureOrPromotion
|
if ( captureOrPromotion
|
||||||
&& type_of(pos.piece_on(to_sq(m))) != PAWN
|
&& type_of(pos.piece_on(to_sq(m))) != PAWN
|
||||||
|
&& !is_special(m)
|
||||||
&& ( pos.non_pawn_material(WHITE) + pos.non_pawn_material(BLACK)
|
&& ( pos.non_pawn_material(WHITE) + pos.non_pawn_material(BLACK)
|
||||||
- PieceValueMidgame[pos.piece_on(to_sq(m))] == VALUE_ZERO)
|
- PieceValueMidgame[pos.piece_on(to_sq(m))] == VALUE_ZERO))
|
||||||
&& !is_special(m))
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue