diff --git a/src/engine/local_engine/localberofactory.cpp b/src/engine/local_engine/localberofactory.cpp index e47ecdf0..8e6fceef 100644 --- a/src/engine/local_engine/localberofactory.cpp +++ b/src/engine/local_engine/localberofactory.cpp @@ -22,9 +22,9 @@ LocalBeRoFactory::~LocalBeRoFactory() BeRoInterface* LocalBeRoFactory::switchRounds() { - BeRoInterface* myBeRo = 0; + BeRoInterface* myBeRo = NULL; - myBeRo = new LocalBeRoPreflop ( myHand, 0, 7, 0, 10 ); + myBeRo = new LocalBeRoPreflop ( myHand, myID, actualQuantityPlayers, dealerPosition, smallBlind ); return myBeRo; } diff --git a/src/engine/network_engine/clientberofactory.cpp b/src/engine/network_engine/clientberofactory.cpp index c14acabd..878e09a3 100644 --- a/src/engine/network_engine/clientberofactory.cpp +++ b/src/engine/network_engine/clientberofactory.cpp @@ -22,4 +22,4 @@ ClientBeRoFactory::~ClientBeRoFactory() } -BeRoInterface* ClientBeRoFactory::switchRounds() {} +BeRoInterface* ClientBeRoFactory::switchRounds() { return NULL;}