mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +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:
parent
b870f5a091
commit
6cddf9183c
1 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ private:
|
|||
|
||||
Key key;
|
||||
Bitboard passedPawns;
|
||||
int mgValue, egValue;
|
||||
int ksStormValue[2], qsStormValue[2];
|
||||
int halfOpenFiles[2];
|
||||
int16_t mgValue, egValue;
|
||||
int16_t ksStormValue[2], qsStormValue[2];
|
||||
uint8_t halfOpenFiles[2];
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue