From 0470bceeff4d84e0e9603921b809ceb1fe25bf79 Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 11 Jun 2007 21:51:58 +0000 Subject: [PATCH] Make sounds work in network games. --- src/net/common/clientstate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 1d7a7397..0b9e55aa 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -657,9 +657,10 @@ ClientStateRunHand::InternalProcess(ClientThread &client, boost::shared_ptrgetMyID() == 0) client.GetGui().disableMyButtons(); + else + client.GetGui().refreshAction(tmpPlayer->getMyID(), tmpPlayer->getMyAction()); client.GetGui().refreshPot(); client.GetGui().refreshSet(); - client.GetGui().refreshAction(); client.GetGui().refreshCash(); client.GetGui().refreshButton(); }