Changeset 6412 for code/branches/pickup2/src/orxonox/PlayerManager.cc
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/PlayerManager.cc
r5929 r6412 38 38 namespace orxonox 39 39 { 40 PlayerManager* PlayerManager::singletonPtr_s = 0;41 40 ManageScopedSingleton(PlayerManager, ScopeID::Root, false); 42 41 … … 92 91 } 93 92 93 void PlayerManager::disconnectAllClients() 94 { 95 for( std::map<unsigned int, PlayerInfo*>::iterator it = this->clients_.begin(); it != this->clients_.end(); ) 96 this->clientDisconnected( (it++)->first ); 97 } 98 94 99 95 100 PlayerInfo* PlayerManager::getClient(unsigned int clientID) const
Note: See TracChangeset
for help on using the changeset viewer.