Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2009, 8:25:30 PM (15 years ago)
Author:
scheusso
Message:

(kind of) fixed HumanPlayer bodys beeing around from clients that have not yet disconnected when unloading level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/PlayerManager.cc

    r5929 r5966  
    9191        }
    9292    }
     93   
     94    void PlayerManager::disconnectAllClients()
     95    {
     96        for( std::map<unsigned int, PlayerInfo*>::iterator it = this->clients_.begin(); it != this->clients_.end(); )
     97            this->clientDisconnected( (it++)->first );
     98    }
    9399
    94100
Note: See TracChangeset for help on using the changeset viewer.