The server is now sending the highest set, and the client is no longer calculating it on his own. This should fix some bugs when someone goes all in with the big/small blind.

This commit is contained in:
lotodore
2007-10-06 14:16:36 +00:00
parent 4c9216dcc2
commit 4e649450b2
6 changed files with 15 additions and 7 deletions
+4 -3
View File
@@ -68,6 +68,10 @@ public:
bool IsRunning() const;
// should be protected, but is needed in function.
const Game &GetGame() const;
Game &GetGame();
protected:
typedef std::deque<SessionWrapper> SessionQueue;
@@ -100,9 +104,6 @@ protected:
SenderThread &GetSender();
ReceiverHelper &GetReceiver();
Game &GetGame();
const Game &GetGame() const;
const StartData &GetStartData() const;
void SetStartData(const StartData &startData);