detemine player who need to show their cards at the end of the hand. this version is possibly buggy, because its tested marginal. additionally the lastActionPlayer is determined not correctly so far.
This commit is contained in:
@@ -50,13 +50,13 @@ ClientBeRo::setHighestCardsValue(int theValue)
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setLastActionPlayer ( int theValue )
|
||||
ClientBeRo::setLastActionPlayer ( unsigned theValue )
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
lastActionPlayer = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
unsigned
|
||||
ClientBeRo::getLastActionPlayer() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
|
||||
Reference in New Issue
Block a user