Use SearchStack to pass allowNullmove

Also renamed allowNullmove in skipNullMove to reverse
the logic so that the field is initialized to 0 (false)
instead of 1 (true).

No functional change also with faked split.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-06-02 13:32:31 +01:00
parent 5804bef824
commit c51e12200a
2 changed files with 42 additions and 23 deletions

View File

@@ -58,6 +58,7 @@ struct SearchStack {
Move killers[KILLER_MAX];
Depth reduction;
Value eval;
bool skipNullMove;
void init(int ply);
void initKillers();