void HandBuilder :: SetBlindsInHand( TableScrapeState &sState, Hand &hand ) { hand.moveToNextPlayer(); int countBlinds = 0; while( hand.getCurPlayerSeat() != hand.GetDealerPos() && countBlinds != 2 ) { if ( sState.getBet( hand.getCurPlayerSeat() ) == 0 ) { hand.getPlayer( hand.getCurPlayerSeat() ).SetState(Player::SeatState::Sitout); } else countBlinds++; hand.moveToNextPlayer(); } hand.SetDealerPos( sState.getDealerPos() ); hand.PostSB(); hand.PostBB(); }