bugfix for #275: remove dealerPosition from constructor of localBoard and transmit when it's needed

This commit is contained in:
floty
2014-03-02 00:50:28 +01:00
parent 3cbb365c61
commit 7f3c8a8608
14 changed files with 22 additions and 36 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
#include "localexception.h"
#include "engine_msg.h"
LocalBoard::LocalBoard(unsigned dp) : BoardInterface(), pot(0), sets(0), dealerPosition(dp), allInCondition(false), lastActionPlayerID(0)
LocalBoard::LocalBoard() : BoardInterface(), pot(0), sets(0), allInCondition(false), lastActionPlayerID(0)
{
myCards[0] = myCards[1] = myCards[2] = myCards[3] = myCards[4] = 0;
}
@@ -78,7 +78,7 @@ void LocalBoard::collectPot()
}
void LocalBoard::distributePot()
void LocalBoard::distributePot(unsigned dealerPosition)
{
winners.clear();