From bf5f0cc1a74358bcf8dc2cffc15e2c6a428905ef Mon Sep 17 00:00:00 2001 From: floty Date: Thu, 20 Dec 2012 18:15:06 +0100 Subject: [PATCH] =?UTF-8?q?bugfix=20f=C3=BCr=20issue=20#3=20(money=20disap?= =?UTF-8?q?pears=20in=20rare=20case)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/engine/local_engine/localboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/local_engine/localboard.cpp b/src/engine/local_engine/localboard.cpp index f7e7b7ce..fafb38df 100755 --- a/src/engine/local_engine/localboard.cpp +++ b/src/engine/local_engine/localboard.cpp @@ -197,7 +197,8 @@ void LocalBoard::distributePot() it = seatsList->begin(); for(l=2; lgetMyUniqueID() == potLevel[l]) winnerHit = true; + if((*it)->getMyActiveStatus() && (*it)->getMyUniqueID() == potLevel[l]) + winnerHit = true; } }