From a7cdb38ab8f7fb5af24771777725ddde1a4a0664 Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 6 Aug 2007 21:46:03 +0000 Subject: [PATCH] Don't use old factory functions for preflop/flop/turn/river. --- src/engine/network_engine/clienthand.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/engine/network_engine/clienthand.cpp b/src/engine/network_engine/clienthand.cpp index 80c1cfb7..0355356a 100644 --- a/src/engine/network_engine/clienthand.cpp +++ b/src/engine/network_engine/clienthand.cpp @@ -55,10 +55,7 @@ ClientHand::ClientHand(boost::shared_ptr f, GuiInterface *g, Boar // the rest of the buttons are assigned later as received from the server. // Preflop, Flop, Turn und River erstellen - myPreflop = myFactory->createPreflop(this, myID, actualQuantityPlayers, dealerPosition, smallBlind); - myFlop = myFactory->createFlop(this, myID, actualQuantityPlayers, dealerPosition, smallBlind); - myTurn = myFactory->createTurn(this, myID, actualQuantityPlayers, dealerPosition, smallBlind); - myRiver = myFactory->createRiver(this, myID, actualQuantityPlayers, dealerPosition, smallBlind); + myBeRo = myFactory->createBeRoFactory(this, myID, actualQuantityPlayers, dealerPosition, smallBlind)->createBeRo(); }