- // position just before to start searching). This is needed by draw detection
- // where, due to 50 moves rule, we need to check at most 100 plies back.
- StateInfo StateRingBuf[102], *SetupState = StateRingBuf;
+ // position just before to start searching). Needed by repetition draw detection.
+ Search::StateStackPtr SetupStates;