cleaning code and hopefully last part of refactoring playerArray to playerLists ;)

This commit is contained in:
floty committed 2007-10-19 14:03:12 +00:00
1 parent 1974abeee8
commit 7c2e8dc777
24 files changed
+169 -2082

No files matched your search

-18
View File
@@ -720,24 +720,6 @@ void
ClientThread::RemoveDisconnectedPlayers()
{
// This should only be called between hands.
// if (m_game.get())
// {
// for (int i = 0; i < m_game->getStartQuantityPlayers(); i++)
// {
// boost::shared_ptr<PlayerInterface> tmpPlayer = m_game->getPlayerArray()[i];
// if (tmpPlayer->getMyActiveStatus())
// {
// // If a player is not in the player data list, it was disconnected.
// if (!GetPlayerDataByUniqueId(tmpPlayer->getMyUniqueID()).get())
// {
// tmpPlayer->setMyCash(0);
// tmpPlayer->setMyActiveStatus(false);
// }
// }
// }
// }
// This should only be called between hands.
if (m_game.get())
{
PlayerListIterator it;