1. void HandBuilder :: SetBlindsInHand( TableScrapeState &sState, Hand &hand )
  2. {
  3.     hand.moveToNextPlayer();
  4.     int countBlinds = 0;
  5.     while( hand.getCurPlayerSeat() != hand.GetDealerPos() && countBlinds != 2 )
  6.     {
  7.         if ( sState.getBet( hand.getCurPlayerSeat() ) == 0 )
  8.         {
  9.             hand.getPlayer( hand.getCurPlayerSeat() ).SetState(Player::SeatState::Sitout);
  10.            
  11.         }
  12.         else
  13.             countBlinds++;
  14.         hand.moveToNextPlayer();
  15.     }
  16.     hand.SetDealerPos( sState.getDealerPos() );
  17.     hand.PostSB();
  18.     hand.PostBB();
  19. }