Fixed id bug in networking code. Dealer id is now set correctly. Phew.
This commit is contained in:
1 parent
b83c86d887
commit
2e12f1bc25
7 files changed
+106
-84
No files matched your search
@@ -527,7 +527,7 @@ ClientStateWaitHand::Process(ClientThread &client)
|
||||
{
|
||||
if (tmpData.gameState == GAME_STATE_PREFLOP_SMALL_BLIND)
|
||||
{
|
||||
tmpPlayer->setMyButton(BUTTON_SMALL_BLIND);
|
||||
assert(tmpPlayer->getMyButton() == BUTTON_SMALL_BLIND);
|
||||
tmpPlayer->setMyAction(tmpData.playerAction);
|
||||
tmpPlayer->setMySet(tmpData.cashValue);
|
||||
client.GetGui().refreshSet();
|
||||
@@ -535,7 +535,7 @@ ClientStateWaitHand::Process(ClientThread &client)
|
||||
}
|
||||
else if (tmpData.gameState == GAME_STATE_PREFLOP_BIG_BLIND)
|
||||
{
|
||||
tmpPlayer->setMyButton(BUTTON_BIG_BLIND);
|
||||
assert(tmpPlayer->getMyButton() == BUTTON_BIG_BLIND);
|
||||
tmpPlayer->setMyAction(tmpData.playerAction);
|
||||
tmpPlayer->setMySet(tmpData.cashValue);
|
||||
client.GetGui().refreshSet();
|
||||
|
||||
Reference in new issue
Block a user