Previous version chess engine Stockfish
Author compilation - Marco Costalba
Information on the compilation:
Correcty resey TB hit counter
Restore original behaviour to reset
the counter before a new move search.
Also fixed some warnings and added const qualifier to a couple of functions, as suggested by m_stembera.
Thanks to Werner Bergmans for reporting the regression.
No functional change.