adds activePlayerList and runningPlayerList (VI)

This commit is contained in:
doitux committed 2007-09-25 09:52:58 +00:00
1 parent f39a7d393a
commit 96b47972d4
4 files changed
+9 -17

No files matched your search

+1 -2
View File
@@ -59,10 +59,9 @@ void LocalBeRoPreflop::run() {
int i;
bool allHighestSet = true;
PlayerListIterator it;
PlayerList runningPlayerList = getMyHand()->getRunningPlayerList();
// test if all running players have same sets (else allHighestSet = false)
for(it=runningPlayerList->begin(); it!=runningPlayerList->end(); it++) {
for(it=getMyHand()->getRunningPlayerList()->begin(); it!=getMyHand()->getRunningPlayerList()->end(); it++) {
if(getHighestSet() != (*it)->getMySet()) {
allHighestSet = false;
}