tests for rejoin
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <enginefactory.h>
|
||||
#include <guiinterface.h>
|
||||
#include <core/loghelper.h>
|
||||
#include "log.h"
|
||||
|
||||
#include "localexception.h"
|
||||
@@ -87,6 +88,9 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
|
||||
// create player
|
||||
player_i = playerDataList.begin();
|
||||
player_end = playerDataList.end();
|
||||
|
||||
LOG_MSG("Starting game... PLAYERS:");
|
||||
|
||||
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
|
||||
|
||||
string myName;
|
||||
@@ -121,6 +125,14 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
|
||||
}
|
||||
(*runningPlayerList) = (*activePlayerList);
|
||||
|
||||
|
||||
LOG_MSG("\tPlayerID " << i << ":{UID, name, GUID, seat} -> {" <<
|
||||
(*player_i)->GetUniqueId() << ", " <<
|
||||
(*player_i)->GetName() << ", " <<
|
||||
(*player_i)->GetGuid() << ", " <<
|
||||
(*player_i)->GetNumber()
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
currentBoard->setPlayerLists(seatsList, activePlayerList, runningPlayerList);
|
||||
|
||||
Reference in New Issue
Block a user