From a53738135dee57b0fac885af3346e82a813da307 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 27 May 2007 18:38:53 +0000 Subject: [PATCH] Fix resetting action too early in network client. --- src/net/common/clientstate.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index c40a9f92..67c0fc9d 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -691,10 +691,7 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetPlayerArray()[i]->setMyAction(0); curGame->getPlayerArray()[i]->setMySetNull(); - } // Wait for next Hand. client.SetState(ClientStateWaitHand::Instance()); retVal = MSG_NET_GAME_SERVER_HAND_END; @@ -734,10 +731,7 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetPlayerArray()[i]->setMyAction(0); curGame->getPlayerArray()[i]->setMySetNull(); - } // Wait for next Hand. client.SetState(ClientStateWaitHand::Instance()); retVal = MSG_NET_GAME_SERVER_HAND_END;