mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 15:37:47 +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:
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user