another way to initialize stayOnTableStatus for player-objects

This commit is contained in:
doitux
2011-12-18 22:34:55 +00:00
parent 0f93d0d9b0
commit fb94675aee
12 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ Game::Game(GuiInterface* gui, boost::shared_ptr<EngineFactory> factory,
}
// create player objects
boost::shared_ptr<PlayerInterface> tmpPlayer = myFactory->createPlayer(i, uniqueId, type, myName, myAvatarFile, myStartCash, startQuantityPlayers > i, 0);
boost::shared_ptr<PlayerInterface> tmpPlayer = myFactory->createPlayer(i, uniqueId, type, myName, myAvatarFile, myStartCash, startQuantityPlayers > i, startQuantityPlayers > i, 0);
tmpPlayer->setIsSessionActive(true);
tmpPlayer->setMyGuid(myGuid);