localberopostriver bugfix

This commit is contained in:
doitux
2007-08-06 09:50:54 +00:00
parent e612b77b1b
commit 1dbff19430
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -2
View File
@@ -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() ) {