mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08: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:
@@ -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