1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 01:29:36 +00:00

Partially revert pawns storm bug fix

Try to save space and use the minimum size
possible.

In particular restore int16_t for values and int8_t
for halfOpenFiles.

Use int16_t for storm values insted of int and also
instead of original buggy and too small int8_t.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-03-16 08:02:33 +01:00
parent b870f5a091
commit 6cddf9183c

View file

@ -58,9 +58,9 @@ private:
Key key; Key key;
Bitboard passedPawns; Bitboard passedPawns;
int mgValue, egValue; int16_t mgValue, egValue;
int ksStormValue[2], qsStormValue[2]; int16_t ksStormValue[2], qsStormValue[2];
int halfOpenFiles[2]; uint8_t halfOpenFiles[2];
}; };