localberopostriver bugfix
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
virtual void setHighestCardsValue(int theValue) =0;
|
||||
virtual void resetFirstRun() =0;
|
||||
virtual int getHighestCardsValue() =0;
|
||||
virtual int getHighestCardsValue() const =0;
|
||||
|
||||
virtual void preflopRun() =0;
|
||||
virtual void flopRun() =0;
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
int getMyBeRoID() const { return myBeRoID; }
|
||||
|
||||
int getHighestCardsValue() {}
|
||||
int getHighestCardsValue() const {}
|
||||
void setHighestCardsValue(int theValue) {}
|
||||
|
||||
//only until bero refactory is over
|
||||
|
||||
@@ -29,7 +29,7 @@ LocalBeRoPostRiver::LocalBeRoPostRiver(HandInterface* bR, int id, int qP, int dP
|
||||
|
||||
{
|
||||
|
||||
myBeRoID = GAME_STATE_RIVER;
|
||||
myBeRoID = GAME_STATE_POST_RIVER;
|
||||
|
||||
int i;
|
||||
|
||||
|
||||
@@ -1946,8 +1946,7 @@ void mainWindowImpl::postRiverRunAnimation3() {
|
||||
|
||||
int i;
|
||||
HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand();
|
||||
// cout << "Neue Runde" << endl;
|
||||
|
||||
cout << currentHand->getRiver()->getMyBeRoID() << endl;
|
||||
//Alle Winner erhellen und "Winner" schreiben
|
||||
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
|
||||
if(currentHand->getPlayerArray()[i]->getMyActiveStatus() && currentHand->getPlayerArray()[i]->getMyAction() != 1 && currentHand->getPlayerArray()[i]->getMyCardsValueInt() == currentHand->getRiver()->getHighestCardsValue() ) {
|
||||
|
||||
Reference in New Issue
Block a user