fixes: "Bug ID 0000003: Low straight flush (with A) incorrectly picked" --> http://www.pokerth.net/mantis/view.php?id=3
This commit is contained in:
@@ -104,11 +104,11 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
|
||||
|
||||
case 1: {
|
||||
|
||||
tempBoardArray[0] = 32;
|
||||
tempBoardArray[1] = 24;
|
||||
tempBoardArray[2] = 31;
|
||||
tempBoardArray[3] = 47;
|
||||
tempBoardArray[4] = 19;
|
||||
tempBoardArray[0] = 43;
|
||||
tempBoardArray[1] = 27;
|
||||
tempBoardArray[2] = 26;
|
||||
tempBoardArray[3] = 29;
|
||||
tempBoardArray[4] = 28;
|
||||
|
||||
myBoard->setMyCards(tempBoardArray);
|
||||
|
||||
@@ -121,8 +121,8 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
|
||||
// player0
|
||||
it = seatsList->begin();
|
||||
|
||||
tempPlayerArray[0] = 12;
|
||||
tempPlayerArray[1] = 44;
|
||||
tempPlayerArray[0] = 30;
|
||||
tempPlayerArray[1] = 38;
|
||||
tempPlayerAndBoardArray[0] = tempPlayerArray[0];
|
||||
tempPlayerAndBoardArray[1] = tempPlayerArray[1];
|
||||
|
||||
@@ -199,15 +199,15 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
|
||||
// player6
|
||||
it++;
|
||||
|
||||
// tempPlayerArray[0] = 13;
|
||||
// tempPlayerArray[1] = 49;
|
||||
// tempPlayerAndBoardArray[0] = tempPlayerArray[0];
|
||||
// tempPlayerAndBoardArray[1] = tempPlayerArray[1];
|
||||
//
|
||||
// (*it)->setMyCards(tempPlayerArray);
|
||||
// (*it)->setMyCardsValueInt(myCardsValue.cardsValue(tempPlayerAndBoardArray,temp5Array));
|
||||
//
|
||||
// (*it)->setMyBestHandPosition(temp5Array);
|
||||
tempPlayerArray[0] = 22;
|
||||
tempPlayerArray[1] = 41;
|
||||
tempPlayerAndBoardArray[0] = tempPlayerArray[0];
|
||||
tempPlayerAndBoardArray[1] = tempPlayerArray[1];
|
||||
|
||||
(*it)->setMyCards(tempPlayerArray);
|
||||
(*it)->setMyCardsValueInt(myCardsValue.cardsValue(tempPlayerAndBoardArray,temp5Array));
|
||||
|
||||
(*it)->setMyBestHandPosition(temp5Array);
|
||||
|
||||
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user