bugfix: ERROR-cards in turn and river
This commit is contained in:
@@ -55,7 +55,15 @@ void LocalBeRo::run() {
|
|||||||
int tempBoardCardsArray[5];
|
int tempBoardCardsArray[5];
|
||||||
|
|
||||||
myHand->getBoard()->getMyCards(tempBoardCardsArray);
|
myHand->getBoard()->getMyCards(tempBoardCardsArray);
|
||||||
myHand->getGuiInterface()->logDealBoardCardsMsg(myBeRoID, tempBoardCardsArray[0], tempBoardCardsArray[1], tempBoardCardsArray[2]);
|
|
||||||
|
switch(myBeRoID) {
|
||||||
|
case GAME_STATE_FLOP: myHand->getGuiInterface()->logDealBoardCardsMsg(myBeRoID, tempBoardCardsArray[0], tempBoardCardsArray[1], tempBoardCardsArray[2]);
|
||||||
|
break;
|
||||||
|
case GAME_STATE_TURN: myHand->getGuiInterface()->logDealBoardCardsMsg(myBeRoID, tempBoardCardsArray[0], tempBoardCardsArray[1], tempBoardCardsArray[2], tempBoardCardsArray[3]);
|
||||||
|
break;
|
||||||
|
case GAME_STATE_RIVER: myHand->getGuiInterface()->logDealBoardCardsMsg(myBeRoID, tempBoardCardsArray[0], tempBoardCardsArray[1], tempBoardCardsArray[2], tempBoardCardsArray[3], tempBoardCardsArray[4]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
logBoardCardsDone = 1;
|
logBoardCardsDone = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user