Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -2023,11 +2023,9 @@ void gameTableImpl::myCheck()
|
||||
int gameTableImpl::getMyCallAmount()
|
||||
{
|
||||
|
||||
int tempHighestSet = 0;
|
||||
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
int tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
|
||||
if (humanPlayer->getMyCash() + humanPlayer->getMySet() <= tempHighestSet) {
|
||||
|
||||
@@ -2065,11 +2063,10 @@ int gameTableImpl::getMyBetAmount()
|
||||
void gameTableImpl::myCall()
|
||||
{
|
||||
|
||||
int tempHighestSet = 0;
|
||||
boost::shared_ptr<HandInterface> currentHand = myStartWindow->getSession()->getCurrentGame()->getCurrentHand();
|
||||
boost::shared_ptr<PlayerInterface> humanPlayer = currentHand->getSeatsList()->front();
|
||||
|
||||
tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
int tempHighestSet = currentHand->getCurrentBeRo()->getHighestSet();
|
||||
|
||||
if (humanPlayer->getMyCash() + humanPlayer->getMySet() <= tempHighestSet) {
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@ public:
|
||||
void newGameStarts();
|
||||
void playSound(std::string audioString, int playerID);
|
||||
|
||||
protected:
|
||||
// Prevent copy construction.
|
||||
// This is only a declaration.
|
||||
SoundEvents(const SoundEvents &);
|
||||
|
||||
private:
|
||||
SDLPlayer *mySDLPlayer;
|
||||
ConfigFile *myConfig;
|
||||
|
||||
Reference in New Issue
Block a user