adds activePlayerList and runningPlayerList (XII) - BUGGY!!! - last sable rev866

This commit is contained in:
doitux
2007-09-26 00:08:45 +00:00
parent 0ea06c8a96
commit 8ac5673c00
2 changed files with 6 additions and 13 deletions
+3 -3
View File
@@ -146,7 +146,7 @@ void LocalBeRoPreflop::run() {
// determine next player
cout << "playerID begin preflopRun(): " << (*(getCurrentPlayersTurnIt()))->getMyID() << endl;
// cout << "playerID begin preflopRun(): " << (*(getCurrentPlayersTurnIt()))->getMyID() << endl;
it = getCurrentPlayersTurnIt();
@@ -156,9 +156,9 @@ void LocalBeRoPreflop::run() {
if(getCurrentPlayersTurnIt() == getMyHand()->getRunningPlayerList()->end()) setCurrentPlayersTurnIt(getMyHand()->getRunningPlayerList()->begin());
if(getCurrentPlayersTurnIt() == getMyHand()->getRunningPlayerList()->end()) cout << "!!!" << endl;
// if(getCurrentPlayersTurnIt() == getMyHand()->getRunningPlayerList()->end()) cout << "!!!" << endl;
cout << "playerID middle preflopRun(): " << (*(getCurrentPlayersTurnIt()))->getMyID() << endl;
// cout << "playerID middle preflopRun(): " << (*(getCurrentPlayersTurnIt()))->getMyID() << endl;
// exceptions
// if next player is small blind and only all-in-big-blind with less than smallblind amount is nonfold too -> preflop is over