Space inflate pawns.cpp

Hopefully no functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-12-09 16:46:10 +01:00
parent aaad48464b
commit 67aac4889e
2 changed files with 214 additions and 210 deletions
+4 -4
View File
@@ -120,10 +120,10 @@ inline bool PawnInfo::has_open_file_to_right(Color c, File f) const {
}
inline void PawnInfo::clear() {
mgValue = egValue = 0;
passedPawns = EmptyBoardBB;
ksStormValue[WHITE] = ksStormValue[BLACK] = 0;
qsStormValue[WHITE] = qsStormValue[BLACK] = 0;
Key k = key;
memset(this, 0, sizeof(PawnInfo));
key = k;
halfOpenFiles[WHITE] = halfOpenFiles[BLACK] = 0xFF;
}