From 77e3c83403fcfb4c155131eea575ffba6961fc0d Mon Sep 17 00:00:00 2001 From: floty Date: Mon, 5 Mar 2007 23:55:06 +0000 Subject: [PATCH] actualQuantityPlayers -><- startQuantityPlayers (part 4) --- src/game.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game.cpp b/src/game.cpp index a85fbbe3..a681ed0c 100755 --- a/src/game.cpp +++ b/src/game.cpp @@ -126,6 +126,12 @@ void Game::startHand() if(playerArray[i]->getMyCash() == 0) playerArray[i]->setMyActiveStatus(0); } + // Anzahl noch aktiver Spieler ermitteln + actualQuantityPlayers = 0; + for(i=0; igetMaxQuantityPlayers(); i++) { + if(playerArray[i]->getMyActiveStatus() != 0) actualQuantityPlayers++; + } + // Hand erstellen actualHand = myFactory->createHand(myFactory, myGui, actualBoard, playerArray, actualHandID, startQuantityPlayers, actualQuantityPlayers, dealerPosition, actualSmallBlind, startCash);