ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
ttMove = rootNode ? thisThread->rootMoves[thisThread->pvIdx].pv[0]
: ttHit ? tte->move() : MOVE_NONE;
- pvHit = ttHit ? tte->pv_hit() : false;
+ pvHit = ttHit && tte->pv_hit();
// At non-PV nodes we check for an early TT cutoff
if ( !PvNode
tte = TT.probe(posKey, ttHit);
ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
ttMove = ttHit ? tte->move() : MOVE_NONE;
- pvHit = ttHit ? tte->pv_hit() : false;
+ pvHit = ttHit && tte->pv_hit();
}
moves_loop: // When in check, search starts from here
tte = TT.probe(posKey, ttHit);
ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;
ttMove = ttHit ? tte->move() : MOVE_NONE;
- pvHit = ttHit ? tte->pv_hit() : false;
+ pvHit = ttHit && tte->pv_hit();
if ( !PvNode
&& ttHit