Trivial code style fixes

Mainly to sync mine and official repo.

No functional change.
This commit is contained in:
Marco Costalba
2014-09-30 09:05:20 +02:00
parent 222f59b9c1
commit a1b62d68ec
6 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -507,7 +507,7 @@ namespace {
& ei.attackedBy[Them][PAWN]
& (ei.attackedBy[Us][KNIGHT] | ei.attackedBy[Us][BISHOP]);
if(protectedEnemies)
if (protectedEnemies)
score += Threat[Minor][type_of(pos.piece_on(lsb(protectedEnemies)))];
// Enemies not defended by a pawn and under our attack
@@ -608,7 +608,7 @@ namespace {
mbonus += k * rr, ebonus += k * rr;
}
else if(pos.pieces(Us) & blockSq)
else if (pos.pieces(Us) & blockSq)
mbonus += rr * 3 + r * 2 + 3, ebonus += rr + r * 2;
} // rr != 0