comment out playerArray

This commit is contained in:
floty
2007-10-18 17:58:51 +00:00
parent 06a8fd5730
commit 211d8fcefc
19 changed files with 73 additions and 44 deletions
+4 -4
View File
@@ -106,7 +106,7 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
tmpPlayer->setNetSessionData(myNetSession);
// fill player lists
playerArray.push_back(tmpPlayer); // delete
// playerArray.push_back(tmpPlayer); // delete
seatsList->push_back(tmpPlayer);
if(startQuantityPlayers > i) {
activePlayerList->push_back(tmpPlayer);
@@ -114,10 +114,10 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
(*runningPlayerList) = (*activePlayerList);
playerArray[i]->setNetSessionData(myNetSession); // delete
// playerArray[i]->setNetSessionData(myNetSession); // delete
}
currentBoard->setPlayerLists(playerArray, seatsList, activePlayerList, runningPlayerList); // delete playerArray
currentBoard->setPlayerLists(/*playerArray,*/ seatsList, activePlayerList, runningPlayerList); // delete playerArray
//start timer
blindsTimer.reset();
@@ -191,7 +191,7 @@ void Game::initHand()
(*runningPlayerList) = (*activePlayerList);
// Hand erstellen
currentHand = myFactory->createHand(myFactory, myGui, currentBoard, playerArray, seatsList, activePlayerList, runningPlayerList, currentHandID, startQuantityPlayers, dealerPosition, currentSmallBlind, startCash); // delete playerArray
currentHand = myFactory->createHand(myFactory, myGui, currentBoard, /*playerArray,*/ seatsList, activePlayerList, runningPlayerList, currentHandID, startQuantityPlayers, dealerPosition, currentSmallBlind, startCash); // delete playerArray
// Dealer-Button weiterschieben --> Achtung inactive -> TODO exception-rule !!! DELETE